You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and then running it using node target/asmjs-unknown-emscripten/release/example.js with and without the optimizations forced there is a noticeable difference between the two runtimes.
Emscripten optimizations are not used when building a project with:
cargo build --release --target asmjs-unknown-emscripten
The Emscripten optimization level can be forced by placing the following in a .cargo/config
For example when building the following code...
and then running it using
node target/asmjs-unknown-emscripten/release/example.js
with and without the optimizations forced there is a noticeable difference between the two runtimes.Meta
rustc 1.15.0 (10893a9 2017-01-19)
binary: rustc
commit-hash: 10893a9
commit-date: 2017-01-19
host: x86_64-unknown-linux-gnu
release: 1.15.0
LLVM version: 3.9
The text was updated successfully, but these errors were encountered: