- Use emsdk 2.0.13.
cargo +nightly run --target wasm32-unknown-emscripten
should work but currently fails. Instead copy the failing command and:- Remove
"-l" "c"
- Replace
"-s" "ERROR_ON_UNDEFINED_SYMBOLS=1"
with...=0
- Run it manually in the console.
- Invoke
node --experimental-wasm-threads --experimental-wasm-bulk-memory target/wasm32-unknown-emscripten/debug/deps/emscripten_rust_test.js
(Cargo would've put it a bit further up and could execute it manually, but since it failed early in the process, we have to get a temporary artifact instead).
- Remove
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
RReverser/emscripten-rust-test
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published