From c377a59278a6d92b9e791b1b4e0a10435c674912 Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Fri, 1 Sep 2023 18:59:43 -0400 Subject: [PATCH] fix tests --- veilid-core/Cargo.toml | 3 +++ veilid-core/run_tests.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/veilid-core/Cargo.toml b/veilid-core/Cargo.toml index 5f4128c5..73b020c9 100644 --- a/veilid-core/Cargo.toml +++ b/veilid-core/Cargo.toml @@ -13,7 +13,10 @@ crate-type = ["cdylib", "staticlib", "rlib"] # Common features default = ["enable-crypto-vld0", "rt-tokio"] +default-async-std = ["enable-crypto-vld0", "rt-async-std"] default-wasm = ["enable-crypto-vld0"] + +# Runtimes rt-async-std = [ "async-std", "async-std-resolver", diff --git a/veilid-core/run_tests.sh b/veilid-core/run_tests.sh index 82a2f2f8..d3e0376a 100755 --- a/veilid-core/run_tests.sh +++ b/veilid-core/run_tests.sh @@ -60,6 +60,6 @@ elif [[ "$1" == "android" ]]; then else cargo test - cargo test --features=rt-async-std + cargo test --no-default-features --features=default-async-std fi popd 2>/dev/null \ No newline at end of file