Skip to content

romansil/rust-wasm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Webassembly example

This is a cargo project for the following tutorial: https://www.hellorust.com/demos/add/

Preparation

Install nightly toolchain and wasm target:

rustup install nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

Set default toolchain for current directory:

rustup override set nightly

Build

cargo build

The output can be found in target/wasm32-unknown-unknown/debug/add.wasm.

TODO

  • wasm-gc steps

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published