summaryrefslogtreecommitdiff
path: root/py/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 184de7bc9..8c857fec2 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -59,6 +59,8 @@ const mp_obj_module_t mp_module___main__ = {
.globals = (mp_obj_dict_t *)&MP_STATE_VM(dict_main),
};
+MP_REGISTER_MODULE(MP_QSTR___main__, mp_module___main__, 1);
+
void mp_init(void) {
qstr_init();