https://github.com/juhalehtonen/rust-wasm-sample
https://github.com/juhalehtonen/rust-wasm-sample
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/juhalehtonen/rust-wasm-sample
- Owner: juhalehtonen
- Created: 2017-12-03T10:00:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-03T10:17:34.000Z (over 7 years ago)
- Last Synced: 2025-04-06T08:13:52.342Z (2 months ago)
- Language: HTML
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust + WebAssembly example
An as-minimal-as-it-gets sample of running WebAssembly in your browser. Compiled from Rust using the nightly build that does not need any additional tools anymore :-)## Building
Currently you need Rust Nightly to compile without emscripten:
```
rustc +nightly --target wasm32-unknown-unknown -O src/main.rs
```## Usage
See `index.html` and `src/main.rs` for details.