Skip to content

Commit b82f34e

Browse files
committed
unix: Allow to disable MICROPY_EMIT_X64 from commandline.
emitnative in particular requires nlr_* to be real functions, so doesn't compile with MICROPY_NLR_SETJMP=1.
1 parent 2cf3810 commit b82f34e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

unix/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
// options to control how Micro Python is built
2828

2929
#define MICROPY_ALLOC_PATH_MAX (PATH_MAX)
30+
#ifndef MICROPY_EMIT_X64
3031
#define MICROPY_EMIT_X64 (1)
32+
#endif
3133
#define MICROPY_EMIT_THUMB (0)
3234
#define MICROPY_EMIT_INLINE_THUMB (0)
3335
#define MICROPY_ENABLE_GC (1)

0 commit comments

Comments
 (0)