[libra] build fuzzers in release mode (#3511)

This commit is contained in:
David Wong 2020-03-16 14:21:45 -07:00 committed by GitHub
parent 5d5eeb0107
commit daa9523fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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