/webassembly-tests-rust

Primary LanguageRustApache License 2.0Apache-2.0

webassembly-benchmarks-rust

This is a WebAssembly module to provide tests for webassembly-test-app.

Prerequisites

With these things this project was created and tested:

  • Node 10.15 with NPM 6.9 (using NVM)
    # Install NVM and follow instructions
    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
    # Install Node and NPM
    nvm install 10
    nvm use 10
    npm install npm@6.9.0 -g
  • Rust 1.38
    curl https://sh.rustup.rs -sSf | sh
  • wasm-pack 0.8.1
    curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Build

wasm-pack build