mirror of https://github.com/pyodide/pyodide.git
Merge pull request #195 from rth/trap-mode-clamp
Use "BINARYEN_TRAP_MODE='clamp'"
This commit is contained in:
commit
556041c1e4
|
@ -64,6 +64,10 @@ jobs:
|
|||
make
|
||||
ccache -s
|
||||
|
||||
- run:
|
||||
name: check-size
|
||||
command: ls -lh build/
|
||||
|
||||
- save_cache:
|
||||
paths:
|
||||
- ./emsdk/emsdk
|
||||
|
|
1
Makefile
1
Makefile
|
@ -37,6 +37,7 @@ LDFLAGS=\
|
|||
-std=c++14 \
|
||||
-lstdc++ \
|
||||
--memory-init-file 0 \
|
||||
-s "BINARYEN_TRAP_MODE='clamp'" \
|
||||
-s TEXTDECODER=0 \
|
||||
-s LZ4=1
|
||||
|
||||
|
|
|
@ -21,4 +21,5 @@ export SIDE_LDFLAGS=\
|
|||
-s EMULATE_FUNCTION_POINTER_CASTS=1 \
|
||||
-s SIDE_MODULE=1 \
|
||||
-s WASM=1 \
|
||||
-s "BINARYEN_TRAP_MODE='clamp'" \
|
||||
--memory-init-file 0
|
||||
|
|
Loading…
Reference in New Issue