Skip to content

Commit

Permalink
Fix -Zsanitizer-memory-track-origins flag which was not changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnatsel committed Jul 12, 2024
1 parent 5556207 commit 3eecd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ impl FuzzProject {
// Memory sanitizer requires more flags to function than others:
// https://doc.rust-lang.org/unstable-book/compiler-flags/sanitizer.html#memorysanitizer
rustflags.push_str(&format!(
" {sanitizer_flag}=memory {sanitizer_flag}-memory-track-origins"
" {sanitizer_flag}=memory -Zsanitizer-memory-track-origins"
))
}
_ => rustflags.push_str(&format!(" {sanitizer_flag}={}", build.sanitizer)),
Expand Down

0 comments on commit 3eecd3d

Please sign in to comment.