Skip to content

Commit 4a91f19

Browse files
committed
ci: fix wasm32-wasip1 tests (#7788)
(cherry picked from commit 1b17a7e)
1 parent 601c383 commit 4a91f19

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,21 +1031,21 @@ jobs:
10311031
run: cargo test -p tokio --target ${{ matrix.target }} --features full
10321032
env:
10331033
CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime run --"
1034-
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -S threads=y --"
1034+
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -W shared-memory=y -S threads=y --"
10351035
RUSTFLAGS: --cfg tokio_unstable -Dwarnings -C target-feature=+atomics,+bulk-memory -C link-args=--max-memory=67108864
10361036

10371037
- name: WASI test tokio-util full
10381038
run: cargo test -p tokio-util --target ${{ matrix.target }} --features full
10391039
env:
10401040
CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime run --"
1041-
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -S threads=y --"
1041+
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -W shared-memory=y -S threads=y --"
10421042
RUSTFLAGS: --cfg tokio_unstable -Dwarnings -C target-feature=+atomics,+bulk-memory -C link-args=--max-memory=67108864
10431043

10441044
- name: WASI test tokio-stream
10451045
run: cargo test -p tokio-stream --target ${{ matrix.target }} --features time,net,io-util,sync
10461046
env:
10471047
CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime run --"
1048-
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -S threads=y --"
1048+
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -W shared-memory=y -S threads=y --"
10491049
RUSTFLAGS: --cfg tokio_unstable -Dwarnings -C target-feature=+atomics,+bulk-memory -C link-args=--max-memory=67108864
10501050

10511051
- name: test tests-integration --features wasi-rt
@@ -1062,7 +1062,7 @@ jobs:
10621062
if: matrix.target == 'wasm32-wasip1-threads'
10631063
working-directory: tests-integration
10641064
env:
1065-
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -S threads=y --"
1065+
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -W shared-memory=y -S threads=y --"
10661066
RUSTFLAGS: --cfg tokio_unstable -Dwarnings -C target-feature=+atomics,+bulk-memory -C link-args=--max-memory=67108864
10671067

10681068
check-external-types:

0 commit comments

Comments
 (0)