wasi
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
wasi [2023/03/14 05:39] – nullpon | wasi [2025/01/11 11:51] (現在) – nullpon | ||
---|---|---|---|
行 10: | 行 10: | ||
### CLI | ### CLI | ||
- | * [[https:// | + | * [Wasmtime](https:// |
- | * [[https:// | + | * [Wasmer - The Universal WebAssembly Runtime](https:// |
+ | * [WasmEdge](https:// | ||
- | macOSいずれもbrewでインストール可能 | + | wasmtime、wasmerはbrewでインストール可能。wasmedgeはdockerイメージが配布されている |
### HTTPサーバ | ### HTTPサーバ | ||
- | * [[https:// | + | * [Wasm Workers Server](https:// |
## rustでwasmをビルドしてwasiで実行 | ## rustでwasmをビルドしてwasiで実行 | ||
- | wasmtime | + | [wasmtim](https:// |
``` | ``` | ||
行 28: | 行 29: | ||
``` | ``` | ||
- | wasm32-wasiをビルドターゲットを追加 | + | wasm32-wasip1をビルドターゲットを追加 |
``` | ``` | ||
- | rustup target add wasm32-wasi | + | rustup target add wasm32-wasip1 |
``` | ``` | ||
行 60: | 行 61: | ||
``` | ``` | ||
- | cargo build --target wasm32-wasi | + | cargo build --target wasm32-wasip1 |
``` | ``` | ||
wasi.1678772382.txt.gz · 最終更新: 2023/03/14 05:39 by nullpon