Skip to content

Commit fda3c9f

Browse files
committed
Don't print unsupported split-debuginfo modes with -Zunstable-options
1 parent caeea3f commit fda3c9f

File tree

1 file changed

+1
-3
lines changed
  • compiler/rustc_driver_impl/src

1 file changed

+1
-3
lines changed

compiler/rustc_driver_impl/src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -764,9 +764,7 @@ fn print_crate_info(
764764
use rustc_target::spec::SplitDebuginfo::{Off, Packed, Unpacked};
765765

766766
for split in &[Off, Packed, Unpacked] {
767-
let stable = sess.target.options.supported_split_debuginfo.contains(split);
768-
let unstable_ok = sess.unstable_options();
769-
if stable || unstable_ok {
767+
if sess.target.options.supported_split_debuginfo.contains(split) {
770768
safe_println!("{split}");
771769
}
772770
}

0 commit comments

Comments
 (0)