Skip to content

Commit

Permalink
remove debugging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrk24 committed Oct 27, 2023
1 parent 482e449 commit d3a89e9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions wasm/build_wasm.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -ex
set -e

common_emcc_args=(-WCL4 -Wnon-gcc -Wimplicit-fallthrough
-fno-rtti -fno-exceptions
Expand Down Expand Up @@ -34,9 +34,7 @@ case "$1" in
"$(npx sass --version | cut -d' ' -f1)"
;;
*)
common_emcc_args=("${common_emcc_args[@]}"
-flto -DNDEBUG --closure 1 --closure-args='--emit_use_strict'
'-Wl,--trace-symbol=emscripten_memcpy_big')
common_emcc_args=("${common_emcc_args[@]}" -flto -DNDEBUG --closure 1 --closure-args='--emit_use_strict')
{
emcc ../src/*.cpp "${common_emcc_args[@]}" -O3 -o worker.js &
emcc ../src/*.cpp "${common_emcc_args[@]}" -Oz -o ldworker.js
Expand Down

0 comments on commit d3a89e9

Please sign in to comment.