Commit b9ad36fd authored by Roman Yurchak's avatar Roman Yurchak

Set "BINARYEN_TRAP_MODE='clamp'"

parent 3ff79f6a
...@@ -64,6 +64,10 @@ jobs: ...@@ -64,6 +64,10 @@ jobs:
make make
ccache -s ccache -s
- run:
name: check-size
command: ls -lh build/
- save_cache: - save_cache:
paths: paths:
- ./emsdk/emsdk - ./emsdk/emsdk
......
...@@ -37,6 +37,7 @@ LDFLAGS=\ ...@@ -37,6 +37,7 @@ LDFLAGS=\
-std=c++14 \ -std=c++14 \
-lstdc++ \ -lstdc++ \
--memory-init-file 0 \ --memory-init-file 0 \
-s "BINARYEN_TRAP_MODE='clamp'" \
-s TEXTDECODER=0 \ -s TEXTDECODER=0 \
-s LZ4=1 -s LZ4=1
......
...@@ -21,4 +21,5 @@ export SIDE_LDFLAGS=\ ...@@ -21,4 +21,5 @@ export SIDE_LDFLAGS=\
-s EMULATE_FUNCTION_POINTER_CASTS=1 \ -s EMULATE_FUNCTION_POINTER_CASTS=1 \
-s SIDE_MODULE=1 \ -s SIDE_MODULE=1 \
-s WASM=1 \ -s WASM=1 \
-s "BINARYEN_TRAP_MODE='clamp'" \
--memory-init-file 0 --memory-init-file 0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment