Skip to content

Commit

Permalink
fix compiling after build optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
gorazdko committed Mar 22, 2021
1 parent 54cbcb3 commit 67f6541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ git submodule update --init
emcc -Os -I./deps/bc-shamir/src/ -I./deps/bc-crypto-base/src/ \
src/encoding.c deps/bc-shamir/src/shamir.c deps/bc-shamir/src/interpolate.c deps/bc-shamir/src/hazmat.c \
deps/bc-crypto-base/src/sha2.c deps/bc-crypto-base/src/hmac.c deps/bc-crypto-base/src/memzero.c \
-s WASM=1 -o wasm/sskr.js -s NO_EXIT_RUNTIME=1 -s "EXTRA_EXPORTED_RUNTIME_METHODS=['ccall', 'cwrap']" \
-s WASM=1 -o wasm/sskr.js -s NO_EXIT_RUNTIME=1 -s "EXTRA_EXPORTED_RUNTIME_METHODS=['ccall', 'cwrap', 'addFunction', 'setValue']" \
-s EXPORTED_FUNCTIONS="['_sskr_count_shards', '_sskr_generate', '_sskr_combine', '_malloc']" \
-s ALLOW_MEMORY_GROWTH=1 -s ALLOW_TABLE_GROWTH \

0 comments on commit 67f6541

Please sign in to comment.