Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/w-mai/wapprusttemplate
app_rs_template
https://github.com/w-mai/wapprusttemplate
Last synced: 26 days ago
JSON representation
app_rs_template
- Host: GitHub
- URL: https://github.com/w-mai/wapprusttemplate
- Owner: W-Mai
- Created: 2022-10-18T19:44:17.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T16:23:50.000Z (over 1 year ago)
- Last Synced: 2023-05-06T18:38:04.134Z (over 1 year ago)
- Language: Python
- Size: 168 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# App Rust Template
To `build` and `run` this project in `Simulator`:
```shell
export SIM_PATH=path/to/Simulator/build; ./build.py
```or if this project is in `App/wApps/some_app`
```shell
./build.py
```### Note
#### 1. You need install rust-toolchain first
```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```#### 2. Nightly Rust needed:
```shell
rustup override set nightly
```#### 3. and add `wasm32-wasi` target to toolchain
```shell
rustup target add wasm32-wasi
```#### 4. And require `wabt` `binaryen` tools
##### For macOS
```shell
brew install wabt binaryen
```##### For Linux
```shell
sudo apt install wabt binaryen
```#### For Windows
Download the latest binaries from [wabt](https://github.com/WebAssembly/wabt/releases)
and [binaryen](https://github.com/WebAssembly/binaryen/releases)