diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6bfde9..a90068c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: uses: bytecodealliance/actions/wasm-tools/setup@v1 - run: cargo build --examples --target wasm32-wasi - run: curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.0/wasi_snapshot_preview1.command.wasm - - run: wasm-tools component new ./target/wasm32-wasi/debug/examples/hello-world.wasm --adapt ./wasi_snapshot_preview1.command.wasm -o componet.wasm + - run: wasm-tools component new ./target/wasm32-wasi/debug/examples/hello-world.wasm --adapt ./wasi_snapshot_preview1.command.wasm -o component.wasm - run: wasmtime run component.wasm diff --git a/ci/regenerate.sh b/ci/regenerate.sh index fcb08c4..f9914d9 100755 --- a/ci/regenerate.sh +++ b/ci/regenerate.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -ex + wit-bindgen rust wit --out-dir src --std-feature # rustfmt chokes on the raw output of wit-bindgen right now due to trailling