Skip to content

Commit

Permalink
Merge #43
Browse files Browse the repository at this point in the history
43: Fix compiler flags for ProfileWithGrcov build option r=PaulGrandperrin a=viniul

This commit replaces the -Zno-landing-pads with the -C panic=unwind,
as the -Zno-landing-pdas is deprecated, see [here](rust-lang/rust#70175).

Co-authored-by: Vincent Ulitzsch <vincent@srlabs.de>
  • Loading branch information
bors[bot] and Vincent Ulitzsch committed Sep 11, 2020
2 parents d6aba6f + 8e0961a commit 22f72bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/cargo-hfuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn hfuzz_build<T>(args: T, crate_root: &Path, build_type: &BuildType) where T: s
rustflags.push_str("\
--cfg fuzzing_debug \
-Zprofile \
-Zno-landing-pads \
-Cpanic=abort \
-C opt-level=0 \
-C debuginfo=2 \
-Ccodegen-units=1 \
Expand Down

0 comments on commit 22f72bb

Please sign in to comment.