Skip to content

Commit

Permalink
Move release tag and add space
Browse files Browse the repository at this point in the history
  • Loading branch information
YanVictorSN committed Feb 12, 2025
1 parent 839be52 commit 9d856f8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cargo-test-fuzz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,16 +249,16 @@ fn build(opts: &TestFuzz, use_instrumentation: bool, quiet: bool) -> Result<Vec<
if use_instrumentation {
args.extend_from_slice(&["afl"]);
}
if opts.release {
args.extend_from_slice(&["--release"]);
}
args.extend_from_slice(&["test", "--frozen", "--offline", "--no-run"]);
if opts.no_default_features {
args.extend_from_slice(&["--no-default-features"]);
}
for features in &opts.features {
args.extend_from_slice(&["--features", features]);
}
if opts.release {
args.extend_from_slice(&["--release"]);
}
let target_dir = target_directory(true);
let target_dir_str = target_dir.to_string_lossy();
if use_instrumentation {
Expand All @@ -276,6 +276,7 @@ fn build(opts: &TestFuzz, use_instrumentation: bool, quiet: bool) -> Result<Vec<
if let Some(name) = &opts.test {
args.extend_from_slice(&["--test", name]);
}

// smoelius: Suppress "Warning: AFL++ tools will need to set AFL_MAP_SIZE..." Setting
// `AFL_QUIET=1` doesn't work here, so pipe standard error to /dev/null.
// smoelius: Suppressing all of standard error is too extreme. For now, suppress only when
Expand Down

0 comments on commit 9d856f8

Please sign in to comment.