test wasm32-wasip2 instead of the deprecated wasm32-wasi target
This commit is contained in:
parent
3c15681a48
commit
b8a7c73792
@ -151,7 +151,7 @@ case $HOST_TARGET in
|
|||||||
TEST_TARGET=x86_64-unknown-illumos run_tests_minimal $BASIC $UNIX pthread-sync
|
TEST_TARGET=x86_64-unknown-illumos run_tests_minimal $BASIC $UNIX pthread-sync
|
||||||
TEST_TARGET=x86_64-pc-solaris run_tests_minimal $BASIC $UNIX pthread-sync
|
TEST_TARGET=x86_64-pc-solaris run_tests_minimal $BASIC $UNIX pthread-sync
|
||||||
TEST_TARGET=aarch64-linux-android run_tests_minimal $BASIC $UNIX
|
TEST_TARGET=aarch64-linux-android run_tests_minimal $BASIC $UNIX
|
||||||
TEST_TARGET=wasm32-wasi run_tests_minimal empty_main wasm heap_alloc libc-mem
|
TEST_TARGET=wasm32-wasip2 run_tests_minimal empty_main wasm heap_alloc libc-mem
|
||||||
TEST_TARGET=wasm32-unknown-unknown run_tests_minimal empty_main wasm
|
TEST_TARGET=wasm32-unknown-unknown run_tests_minimal empty_main wasm
|
||||||
TEST_TARGET=thumbv7em-none-eabihf run_tests_minimal no_std
|
TEST_TARGET=thumbv7em-none-eabihf run_tests_minimal no_std
|
||||||
# Custom target JSON file
|
# Custom target JSON file
|
||||||
|
@ -11,12 +11,12 @@ edition = "2021"
|
|||||||
# all dependencies (and their transitive ones) listed here can be used in `tests/`.
|
# all dependencies (and their transitive ones) listed here can be used in `tests/`.
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
num_cpus = "1.10.1"
|
num_cpus = "1.10.1"
|
||||||
tempfile = "3"
|
|
||||||
|
|
||||||
getrandom_01 = { package = "getrandom", version = "0.1" }
|
getrandom_01 = { package = "getrandom", version = "0.1" }
|
||||||
getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
|
getrandom_02 = { package = "getrandom", version = "0.2", features = ["js"] }
|
||||||
|
|
||||||
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies]
|
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies]
|
||||||
|
tempfile = "3"
|
||||||
page_size = "0.6"
|
page_size = "0.6"
|
||||||
tokio = { version = "1.24", features = ["macros", "rt-multi-thread", "time", "net"] }
|
tokio = { version = "1.24", features = ["macros", "rt-multi-thread", "time", "net"] }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user