diff options
| author | bors <bors@rust-lang.org> | 2023-06-14 17:25:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-14 17:25:04 +0000 |
| commit | 0b475c705f36fb3b0a63994b92f2bbd2f5865b07 (patch) | |
| tree | 2cda00084fc4ef002fab7497665ec301bac26b53 /compiler/rustc_driver_impl/src | |
| parent | afa9fef70904bee316d5a73275397d7c4e7c8c4b (diff) | |
| parent | c1b4d075a2e5304437769bc3847ebb1d5db2c3fa (diff) | |
| download | rust-0b475c705f36fb3b0a63994b92f2bbd2f5865b07.tar.gz rust-0b475c705f36fb3b0a63994b92f2bbd2f5865b07.zip | |
Auto merge of #112624 - matthiaskrgr:rollup-db6ta1b, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #98202 (Implement `TryFrom<&OsStr>` for `&str`) - #107619 (Specify behavior of HashSet::insert) - #109814 (Stabilize String::leak) - #111974 (Update runtime guarantee for `select_nth_unstable`) - #112109 (Don't print unsupported split-debuginfo modes with `-Zunstable-options`) - #112506 (Properly check associated consts for infer placeholders) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_driver_impl/src')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index f8dda23ef9c..2f1c7819727 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -771,9 +771,7 @@ fn print_crate_info( use rustc_target::spec::SplitDebuginfo::{Off, Packed, Unpacked}; for split in &[Off, Packed, Unpacked] { - let stable = sess.target.options.supported_split_debuginfo.contains(split); - let unstable_ok = sess.unstable_options(); - if stable || unstable_ok { + if sess.target.options.supported_split_debuginfo.contains(split) { safe_println!("{split}"); } } |
