py: Add option to disable set() object (enabled by default).
diff --git a/py/objset.c b/py/objset.c
index 5cde712..ab76b57 100644
--- a/py/objset.c
+++ b/py/objset.c
@@ -37,6 +37,8 @@
 #include "runtime0.h"
 #include "builtin.h"
 
+#if MICROPY_PY_BUILTINS_SET
+
 typedef struct _mp_obj_set_t {
     mp_obj_base_t base;
     mp_set_t set;
@@ -584,3 +586,5 @@
     mp_obj_set_t *self = self_in;
     mp_set_lookup(&self->set, item, MP_MAP_LOOKUP_ADD_IF_NOT_FOUND);
 }
+
+#endif // MICROPY_PY_BUILTINS_SET