https://github.com/byteshiva/wasi-rust-example
WASI RUST Project
https://github.com/byteshiva/wasi-rust-example
Last synced: 2 months ago
JSON representation
WASI RUST Project
- Host: GitHub
- URL: https://github.com/byteshiva/wasi-rust-example
- Owner: byteshiva
- License: apache-2.0
- Created: 2022-05-16T07:49:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-07T02:44:15.000Z (over 1 year ago)
- Last Synced: 2024-09-07T04:46:57.199Z (over 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Build rust project
```
docker build -t my-rust-app .
```
# Run rust project
```
docker run -it --rm my-rust-app /bin/bash
```
# Run wasi
```
wasmtime --dir . target/wasm32-wasi/release/wasi-rust-example.wasm sample-world!
```