Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- run: wasmtime run ./target/wasm32-wasip2/debug/examples/hello-world.wasm
- run: wasmtime run ./target/wasm32-wasip2/debug/examples/cli_command.wasm


- run: cargo build -p wasip2 --examples --target wasm32-unknown-unknown --no-default-features
- run: wasm-tools component new ./target/wasm32-unknown-unknown/debug/examples/http_proxy_no_std.wasm -o component.wasm
- run: wasm-tools component targets ./crates/wasip2/wit component.wasm -w wasi:http/proxy
Expand Down Expand Up @@ -140,6 +139,10 @@ jobs:
- run: cargo build -p wasip3 --examples --target wasm32-wasip2
- run: wasmtime run -Sp3 -Wcomponent-model-async ./target/wasm32-wasip2/debug/examples/cli_command.wasm

- run: cargo build -p wasip3 --example http-proxy-compat --target wasm32-unknown-unknown --features http-compat
- run: wasm-tools component new ./target/wasm32-unknown-unknown/debug/examples/http_proxy_compat.wasm -o component.wasm
- run: wasm-tools component targets ./crates/wasip3/wit component.wasm -w wasi:http/proxy

- run: cargo build -p wasip3 --examples --target wasm32-unknown-unknown
- run: wasm-tools component new ./target/wasm32-unknown-unknown/debug/examples/http_proxy.wasm -o component.wasm
- run: wasm-tools component targets ./crates/wasip3/wit component.wasm -w wasi:http/proxy
Expand Down
1 change: 1 addition & 0 deletions crates/wasip3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ http-compat = [
"dep:http-body",
"dep:http",
"dep:thiserror",
"wit-bindgen/async-spawn",
]

[dependencies]
Expand Down