feat: copied from github.com/pmalmgren/wasi-data-sharing

This commit is contained in:
2023-02-04 17:09:09 +08:00
parent d9682a76a6
commit 8d2102387b
9 changed files with 1697 additions and 6 deletions

View File

@@ -1,3 +1,17 @@
# pmalmgren-wasi-data-sharing
# Sharing data between hosts with stdio
From: https://github.com/pmalmgren/wasi-data-sharing
This repository has an accompanying [blog post](https://petermalmgren.com/serverside-wasm-data/).
## Running
### 1. Build the WASM
```bash
$ cargo build --target wasm32-wasi
```
### 2. Run the example
```bash
$ cargo run --example wasi
```