diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-25 11:25:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-25 11:25:48 +0200 |
| commit | cbbf065425050a90126e0da070a92109faf62140 (patch) | |
| tree | 54ddbd76c4c9dee23e88ceb16032d0b9c2c4d0a1 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 40008dcb494a00571123b7d59115068a200ebe34 (diff) | |
| parent | 3eb1c43720fdd3fb1c9284dde5368832fbfe52bc (diff) | |
| download | rust-cbbf065425050a90126e0da070a92109faf62140.tar.gz rust-cbbf065425050a90126e0da070a92109faf62140.zip | |
Rollup merge of #71364 - Amanieu:zprofile_compiler_builtins, r=cramertj
Ignore -Zprofile when building compiler_builtins #70846 made the `compiler_builtins` crate ignore the default codegen-units setting and instead always split each function into a different codegen unit. This unfortunately breaks `-Zprofile` which requires a single codegen unit per crate (see #71283). You can notice this when building with `cargo -Zbuild-std` and `RUSTFLAGS` containing `-Zprofile`. This PR works around this issue by just ignoring `-Zprofile` for the `compiler-builtins` crate.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
