summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 4f023934e6..8019771e51 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -192,6 +192,11 @@
/*****************************************************************************/
/* Micro Python emitters */
+// Whether generated code can persist independently of the VM/runtime instance
+#ifndef MICROPY_PERSISTENT_CODE
+#define MICROPY_PERSISTENT_CODE (0)
+#endif
+
// Whether to emit x64 native code
#ifndef MICROPY_EMIT_X64
#define MICROPY_EMIT_X64 (0)