Skip to content

Commit 698db3b

Browse files
authored
Bump wasip3 to v0.4 (#790)
1 parent ebc99b6 commit 698db3b

File tree

4 files changed

+113
-59
lines changed

4 files changed

+113
-59
lines changed

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ runner = 'wasm-bindgen-test-runner'
55
runner = 'wasmtime'
66
[target.wasm32-wasip2]
77
runner = 'wasmtime'
8+
[target.wasm32-wasip3]
9+
runner = 'wasmtime'
810

911
# Just run on node by default (that's where emscripten is tested)
1012
[target.'cfg(target_os = "emscripten")']
1113
runner = 'node'
14+
15+
[resolver]
16+
incompatible-rust-versions = "allow"

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@ jobs:
370370
wget -O - $URL | tar -xJ --strip-components=1 -C ~/.cargo/bin
371371
wasmtime --version
372372
- uses: Swatinem/rust-cache@v2
373+
- name: Generate MSRV-compatible Cargo.lock
374+
env:
375+
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: "fallback"
376+
run: cargo update
373377
- run: cargo test --target wasm32-wasip2
374378

375379
# TODO: enable after pre-built std will be provided by Rust

0 commit comments

Comments
 (0)