W-Mai / wAppRustTemplate

app_rs_template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App Rust Template

To build and run this project in Simulator:

export SIM_PATH=path/to/Simulator/build; ./build.py

or if this project is in App/wApps/some_app

./build.py

Note

1. You need install rust-toolchain first

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

2. Nightly Rust needed:

rustup override set nightly 

3. and add wasm32-wasi target to toolchain

rustup target add wasm32-wasi

4. And require wabt binaryen tools

For macOS
brew install wabt binaryen
For Linux
sudo apt install wabt binaryen

For Windows

Download the latest binaries from wabt and binaryen

About

app_rs_template


Languages

Language:Python 59.7%Language:Rust 40.3%