From 8e0961a239285dcae3b31fd8ed65197a9a7d21e8 Mon Sep 17 00:00:00 2001 From: Vincent Ulitzsch Date: Fri, 11 Sep 2020 17:25:22 +0200 Subject: [PATCH] Fix compiler flags for ProfileWithGrcov build option This commit replaces the -Zno-landing-pads with the -C panic=unwind, as the -Zno-landing-pdas is deprecated. --- src/bin/cargo-hfuzz.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/cargo-hfuzz.rs b/src/bin/cargo-hfuzz.rs index b32a312..dd30dfb 100644 --- a/src/bin/cargo-hfuzz.rs +++ b/src/bin/cargo-hfuzz.rs @@ -162,7 +162,7 @@ fn hfuzz_build(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 \