From 703b92adea71c1a219f6d057c1782fda24fc16ad Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 19 May 2020 11:23:08 -0700 Subject: [PATCH] wasmtime: build fuzz targets with --all-features (#3850) This enables not only the binaryen-using fuzz targets, but also the peepmatic fuzz targets (which is necessary after https://github.com/bytecodealliance/wasmtime/pull/1727). --- projects/wasmtime/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/wasmtime/build.sh b/projects/wasmtime/build.sh index d2d479e0a..5fbbdd53d 100755 --- a/projects/wasmtime/build.sh +++ b/projects/wasmtime/build.sh @@ -17,7 +17,10 @@ # Note: This project creates Rust fuzz targets exclusively PROJECT_DIR=$SRC/wasmtime -cd $PROJECT_DIR/fuzz && cargo fuzz build -O --debug-assertions --features binaryen + +# Build with all features to enable the binaryen-using fuzz targets, and +# the peepmatic fuzz targets. +cd $PROJECT_DIR/fuzz && cargo fuzz build -O --debug-assertions --all-features FUZZ_TARGET_OUTPUT_DIR=$PROJECT_DIR/target/x86_64-unknown-linux-gnu/release for f in $SRC/wasmtime/fuzz/fuzz_targets/*.rs