Skip to content

Commit 115acad

Browse files
dlechdpgeorge
authored andcommitted
mpy-cross: Disable stack check when building with Emscripten.
`mpy-cross` can be compiled to WASM using Emscripten, but it is not happy unless the stack check is disabled. Signed-off-by: David Lechner <david@pybricks.com>
1 parent 8cebd56 commit 115acad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mpy-cross/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@
6262
#define MICROPY_READER_POSIX (1)
6363
#define MICROPY_ENABLE_RUNTIME (0)
6464
#define MICROPY_ENABLE_GC (1)
65+
#ifndef __EMSCRIPTEN__
6566
#define MICROPY_STACK_CHECK (1)
67+
#endif
6668
#define MICROPY_HELPER_LEXER_UNIX (1)
6769
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
6870
#define MICROPY_ENABLE_SOURCE_LINE (1)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy