Skip to content

Commit 6fc1a8c

Browse files
authored
ci: fix ci error about wasm32-wasip1 (#7085)
1 parent 5c8cd33 commit 6fc1a8c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ jobs:
10091009
- name: Install cargo-hack, wasmtime, and cargo-wasi
10101010
uses: taiki-e/install-action@v2
10111011
with:
1012-
tool: cargo-hack,wasmtime,cargo-wasi
1012+
tool: cargo-hack,wasmtime
10131013

10141014
- uses: Swatinem/rust-cache@v2
10151015
- name: WASI test tokio full
@@ -1035,9 +1035,12 @@ jobs:
10351035

10361036
- name: test tests-integration --features wasi-rt
10371037
# TODO: this should become: `cargo hack wasi test --each-feature`
1038-
run: cargo wasi test --test rt_yield --features wasi-rt
1038+
run: cargo test --target ${{ matrix.target }} --test rt_yield --features wasi-rt
10391039
if: matrix.target == 'wasm32-wasip1'
10401040
working-directory: tests-integration
1041+
env:
1042+
CARGO_TARGET_WASM32_WASIP1_RUNNER: "wasmtime run --"
1043+
RUSTFLAGS: -Dwarnings -C target-feature=+atomics,+bulk-memory -C link-args=--max-memory=67108864
10411044

10421045
- name: test tests-integration --features wasi-threads-rt
10431046
run: cargo test --target ${{ matrix.target }} --features wasi-threads-rt

0 commit comments

Comments
 (0)