]> git.bitcoin.ninja Git - dnssec-prover/commitdiff
Avoid overriding $RUSTFLAGS when needed for rustc 1.63
authorMatt Corallo <git@bluematt.me>
Tue, 21 May 2024 16:33:49 +0000 (16:33 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 21 May 2024 16:34:25 +0000 (16:34 +0000)
test.sh

diff --git a/test.sh b/test.sh
index b55143a235e749f0de5e0269aaceb7981668c194..e2f7039b35c139f44588c3778ca12545544d68d4 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -23,6 +23,6 @@ cargo build --lib --features std,tokio,validation --release
 cargo build --bin http_proof_gen --features build_server
 cargo doc --features std,tokio,validation
 cd fuzz
-RUSTFLAGS=--cfg=fuzzing RUSTC_BOOTSTRAP=1 cargo build --features stdin_fuzz
+RUSTFLAGS="$RUSTFLAGS --cfg=fuzzing" RUSTC_BOOTSTRAP=1 cargo build --features stdin_fuzz
 cd ../bench
-RUSTFLAGS="--cfg=dnssec_validate_bench" cargo bench
+RUSTFLAGS="$RUSTFLAGS --cfg=dnssec_validate_bench" cargo bench