Skip to content

Commit

Permalink
wasmtime: build fuzz targets with --all-features (google#3850)
Browse files Browse the repository at this point in the history
This enables not only the binaryen-using fuzz targets, but also the peepmatic fuzz targets (which is necessary after bytecodealliance/wasmtime#1727).
  • Loading branch information
fitzgen committed May 19, 2020
1 parent 0b35444 commit 703b92a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/wasmtime/build.sh
Expand Up @@ -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
Expand Down

0 comments on commit 703b92a

Please sign in to comment.