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