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).
This commit is contained in:
Nick Fitzgerald 2020-05-19 11:23:08 -07:00 committed by GitHub
parent 0b35444f73
commit 703b92adea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

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