From ff1c89350d118fb3583664720785ec1c93dbe175 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 21 May 2024 16:33:49 +0000 Subject: [PATCH] Avoid overriding $RUSTFLAGS when needed for rustc 1.63 --- test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index b55143a..e2f7039 100755 --- 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 -- 2.39.5