aboutsummaryrefslogtreecommitdiff
path: root/projects/wasmtime
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2020-05-19 11:23:08 -0700
committerGitHub <noreply@github.com>2020-05-19 11:23:08 -0700
commit703b92adea71c1a219f6d057c1782fda24fc16ad (patch)
treeedfc147e0abeb2d28b26ebb998f1e9c3239ea0c7 /projects/wasmtime
parent0b35444f7360aed7a4e35025b23bccf2b2ddca5c (diff)
downloadoss-fuzz-703b92adea71c1a219f6d057c1782fda24fc16ad.tar.gz
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).
Diffstat (limited to 'projects/wasmtime')
-rwxr-xr-xprojects/wasmtime/build.sh5
1 files changed, 4 insertions, 1 deletions
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