aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinfra/base-images/base-builder/cargo2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/base-images/base-builder/cargo b/infra/base-images/base-builder/cargo
index 670c81934..bed8e7660 100755
--- a/infra/base-images/base-builder/cargo
+++ b/infra/base-images/base-builder/cargo
@@ -36,6 +36,8 @@ then
cd fuzz || true
fuzz_src_abspath=`pwd`
export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix fuzz_targets=$fuzz_src_abspath/fuzz_targets"
+ # we do not want to trigger debug assertions and stops
+ export RUSTFLAGS="$RUSTFLAGS -C debug-assertions=no"
# do not optimize with --release, leading to Malformed instrumentation profile data
cargo build --bins
# copies the build output in the expected target directory