Remove deprecatd emscripten option ERROR_ON_MISSING_LIBRARIES
authorBernie Innocenti <bernie@codewiz.org>
Tue, 31 Mar 2020 15:42:57 +0000 (00:42 +0900)
committerBernie Innocenti <bernie@codewiz.org>
Tue, 31 Mar 2020 15:42:57 +0000 (00:42 +0900)
release_wasm.sh

index 43fdf2305eef0d00f768691c6b171ef67118be27..a7aa015bce8edb79e6522b50124f769dea2236f0 100755 (executable)
@@ -2,7 +2,7 @@ set -e
 export CFLAGS="-O2"
 export CXXFLAGS="$CFLAGS"
 cargo rustc --target wasm32-unknown-emscripten --release --bin mandelwow -- \
-  -C link-args='--emrun -s USE_SDL=2 -s ERROR_ON_MISSING_LIBRARIES=0 -s ASSERTIONS=2 --preload-file flora.xm'
+  -C link-args='--emrun -s ASSERTIONS=2 --preload-file flora.xm'
 cp -a target/wasm32-unknown-emscripten/release/mandelwow.{js,wasm} .
 cp -a target/wasm32-unknown-emscripten/release/deps/mandelwow.data .
 emrun .