https://github.com/nikvolf/wasm-hello-world
https://github.com/nikvolf/wasm-hello-world
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikvolf/wasm-hello-world
- Owner: NikVolf
- Created: 2018-03-28T12:47:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T12:50:12.000Z (about 8 years ago)
- Last Synced: 2025-01-06T21:20:43.564Z (over 1 year ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wasm-hello-world
it's just returns "hello world" whenver called
```rust
#[no_mangle]
pub unsafe extern "C" fn call() {
ext::ret(b"Hello world");
}
```
To build, run
```
cargo install pwasm-utils --force
./build.sh
```