From daa9523feefad08cf42a1ab18e5d44f7630055aa Mon Sep 17 00:00:00 2001 From: David Wong Date: Mon, 16 Mar 2020 14:21:45 -0700 Subject: [PATCH] [libra] build fuzzers in release mode (#3511) --- projects/libra/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/libra/build.sh b/projects/libra/build.sh index f64873546..ea07ced64 100644 --- a/projects/libra/build.sh +++ b/projects/libra/build.sh @@ -50,7 +50,7 @@ cat fuzzer_list | while read -r line do # build export SINGLE_FUZZ_TARGET="$line" - cargo build --manifest-path fuzz/Cargo.toml --bin fuzzer_builder --target x86_64-unknown-linux-gnu + cargo build --manifest-path fuzz/Cargo.toml --bin fuzzer_builder --release --target x86_64-unknown-linux-gnu # move fuzzer to $OUT - mv $SRC/libra/target/x86_64-unknown-linux-gnu/debug/fuzzer_builder $OUT/$SINGLE_FUZZ_TARGET + mv $SRC/libra/target/x86_64-unknown-linux-gnu/release/fuzzer_builder $OUT/$SINGLE_FUZZ_TARGET done