/rust-wasm-calculator

A simple calculator with logic written in Rust, compiled to Wasm, and rendered with React.js

Primary LanguageJavaScriptMIT LicenseMIT

rust-wasm-calculator

A simple calculator with logic written in Rust, compiled to Wasm, and rendered with React.js

Instructions to run locally

You need node

You need the rust toolchain

You need wasm-pack

  1. Clone repo.
  2. cd into cloned directory
  3. cd lib && wasm-pack build
  4. cd pkg && sudo npm link
  5. cd ../../app && sudo npm link rust-wasm-react-calculator
  6. npm i && npm run start