Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Commit

Permalink
Export 'cwrap'
Browse files Browse the repository at this point in the history
  • Loading branch information
tyfkda committed Aug 31, 2018
1 parent a79b04d commit f9212d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -5,7 +5,7 @@ build:
cargo rustc --release \
--target=wasm32-unknown-emscripten -- \
-C opt-level=3 \
-C link-args="-O3 -s NO_EXIT_RUNTIME=1 -s EXPORTED_FUNCTIONS=['_run']" \
-C link-args="-O3 -s NO_EXIT_RUNTIME=1 -s EXPORTED_FUNCTIONS=['_run'] -s EXTRA_EXPORTED_RUNTIME_METHODS=['cwrap']" \
--verbose
cp target/wasm32-unknown-emscripten/release/rustynes.js wasm/rustynes.js
cp target/wasm32-unknown-emscripten/release/deps/*.wasm wasm/rustynes.wasm
Expand Down

0 comments on commit f9212d2

Please sign in to comment.