https://github.com/second-state/wasmedge_asyncify
https://github.com/second-state/wasmedge_asyncify
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/second-state/wasmedge_asyncify
- Owner: second-state
- Created: 2022-08-05T10:08:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-28T18:16:10.000Z (about 3 years ago)
- Last Synced: 2025-05-07T18:57:36.109Z (about 1 year ago)
- Language: Rust
- Size: 4.09 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Prerequisites
Make sure that you will have GCC installed on Ubuntu 20.04.
```shell
$ sudo apt update
$ sudo apt install build-essential
```
Install [Rust](https://www.rust-lang.org/tools/install) and use the following command to install the `wasm32-wasi` target.
```shell
$ rustup target add wasm32-wasi
```
Install [wasmedge CLI tool](https://wasmedge.org/book/en/start/install.html).
## Hello world
`examples/hello` is a simple demo for wasmedge async function.
You can run it with `cargo run`:
### Run
```shell
$ cargo run --package hello
```