Commit 556041c1 authored by Michael Droettboom's avatar Michael Droettboom Committed by GitHub

Merge pull request #195 from rth/trap-mode-clamp

Use "BINARYEN_TRAP_MODE='clamp'"
parents 3c03c56b a34d18c0
......@@ -64,6 +64,10 @@ jobs:
make
ccache -s
- run:
name: check-size
command: ls -lh build/
- save_cache:
paths:
- ./emsdk/emsdk
......
......@@ -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
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