feat: with wasm executor

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-08-28 21:13:50 +02:00
parent 541b9b22d2
commit dd80ebb577
11 changed files with 1320 additions and 130 deletions

12
adapt.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -e
crate=$1
cargo build -p "$crate" --target wasm32-wasi --release
crate_target=$(echo $crate | sed "s/-/_/g")
#wasm-tools component new ./target/wasm32-wasi/debug/$crate_target.wasm \
# -o $crate_target.wasm #--adapt ./includes/wasi_snapshot_preview1.wasm