[tor-commits] [tor/release-0.3.4] Rust: Use --all-features in test_rust.sh for 0.3.3 and 0.3.4

nickm at torproject.org nickm at torproject.org
Wed Aug 22 00:04:27 UTC 2018


commit 546c134801a17ebb63032b5ac52a65279998ea6f
Author: teor <teor at torproject.org>
Date:   Fri Aug 10 13:11:27 2018 +1000

    Rust: Use --all-features in test_rust.sh for 0.3.3 and 0.3.4
    
    Re-applies 0.3.3 changes after 24629.
---
 src/test/test_rust.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_rust.sh b/src/test/test_rust.sh
index 4afc84285..5405af436 100755
--- a/src/test/test_rust.sh
+++ b/src/test/test_rust.sh
@@ -9,7 +9,7 @@ for cargo_toml_dir in "${abs_top_srcdir:-../../..}"/src/rust/*; do
     if [ -e "${cargo_toml_dir}/Cargo.toml" ]; then
 	cd "${abs_top_builddir:-../../..}/src/rust" && \
 	    CARGO_TARGET_DIR="${abs_top_builddir:-../../..}/src/rust/target" \
-	    "${CARGO:-cargo}" test ${CARGO_ONLINE-"--frozen"} \
+	    "${CARGO:-cargo}" test --all-features ${CARGO_ONLINE-"--frozen"} \
 	    ${EXTRA_CARGO_OPTIONS} \
 	    --manifest-path "${cargo_toml_dir}/Cargo.toml" || exitcode=1
     fi





More information about the tor-commits mailing list