/test-num_cpus

Test new wasm-unknown-unknown backend for num_cpus

Primary LanguageJavaScriptMIT LicenseMIT

Test For patched num_cpus

Build and Run

cargo +nightly build --target wasm32-unknown-unknown --release

Copy inside the js/ folder the file test-num_cpus.wasm, found in target/wasm32-unknown-unknown/release

Then launch a server, for example with:

python -m http.server