Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibaryshnikov/beijing-workshop-2019-wasm-rustc
Workshop materials for RustCon
https://github.com/ibaryshnikov/beijing-workshop-2019-wasm-rustc
Last synced: 6 days ago
JSON representation
Workshop materials for RustCon
- Host: GitHub
- URL: https://github.com/ibaryshnikov/beijing-workshop-2019-wasm-rustc
- Owner: ibaryshnikov
- Created: 2019-04-22T03:28:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-30T05:18:02.000Z (over 5 years ago)
- Last Synced: 2024-11-09T06:44:04.166Z (2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The contents of the wasm workshop, part 1
Compiling to wasm using pure rustc
## Setting up
Add compilation target to the toolchain
```
rustup target add wasm32-unknown-unknown
```## Building
```
rustc lib.rs --target wasm32-unknown-unknown --crate-type cdylib
```## Running
Serve statics
```
http
````Then navigate to localhost