Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# SPDX-License-Identifier: MPL-2.0
cd "$SRC"/echidna
cargo +nightly fuzz build
# `fuzz` is excluded from the workspace (`Cargo.toml:154-157`), so
# cargo-fuzz writes artefacts into the fuzz crate's own target dir
# (`fuzz/target/<TRIPLE>/release/`) rather than the workspace
# `./target/`. cp from the correct path or every iteration of the
# loop fails with `cp: cannot stat …/target/x86_64-…/release/<bin>`
# and bash -eu exits on the first miss (echidna#143).
for target in $(cargo +nightly fuzz list); do
cp ./target/x86_64-unknown-linux-gnu/release/$target $OUT/
cp ./fuzz/target/x86_64-unknown-linux-gnu/release/$target $OUT/
done
Loading