Skip to content

Commit f7520e4

Browse files
committed
Auto merge of rust-lang#3620 - RalfJung:wasi, r=RalfJung
test wasm32-wasip2 instead of the deprecated wasm32-wasi target
2 parents 3c15681 + b8a7c73 commit f7520e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/miri/ci/ci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ case $HOST_TARGET in
151151
TEST_TARGET=x86_64-unknown-illumos run_tests_minimal $BASIC $UNIX pthread-sync
152152
TEST_TARGET=x86_64-pc-solaris run_tests_minimal $BASIC $UNIX pthread-sync
153153
TEST_TARGET=aarch64-linux-android run_tests_minimal $BASIC $UNIX
154-
TEST_TARGET=wasm32-wasi run_tests_minimal empty_main wasm heap_alloc libc-mem
154+
TEST_TARGET=wasm32-wasip2 run_tests_minimal empty_main wasm heap_alloc libc-mem
155155
TEST_TARGET=wasm32-unknown-unknown run_tests_minimal empty_main wasm
156156
TEST_TARGET=thumbv7em-none-eabihf run_tests_minimal no_std
157157
# Custom target JSON file

src/tools/miri/test_dependencies/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ edition = "2021"
1111
# all dependencies (and their transitive ones) listed here can be used in `tests/`.
1212
libc = "0.2"
1313
num_cpus = "1.10.1"
14-
tempfile = "3"
1514

1615
getrandom_01 = { package = "getrandom", version = "0.1" }
1716
getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
1817

1918
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies]
19+
tempfile = "3"
2020
page_size = "0.6"
2121
tokio = { version = "1.24", features = ["macros", "rt-multi-thread", "time", "net"] }
2222

0 commit comments

Comments
 (0)