Skip to content

Commit

Permalink
cfi needs cgus=1
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Aug 9, 2023
1 parent d450d62 commit 5051845
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ static DEFAULT_RUSTFLAGS: &[&[&str]] = &[
"-Zsanitizer=cfi",
"-Clto",
"-Zsanitizer-cfi-normalize-integers",
"-Ccodegen-units=1",
"-ocodegen",
"-Cdebuginfo=2",
"-Copt-level=3",
Expand Down Expand Up @@ -693,6 +694,7 @@ static EXPENSIVE_RUSTFLAGS: &[&[&str]] = &[
"-Cdebuginfo=2",
"-Copt-level=3",
"-Zsanitizer=cfi",
"-Ccodegen-units=1",
"-Clto",
"-ocodegen",
"-Zsanitizer-cfi-normalize-integers",
Expand Down

0 comments on commit 5051845

Please sign in to comment.