diff --git a/compiler/rustc_target/src/spec/targets/x86_64_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/targets/x86_64_unknown_linux_gnu.rs index 59ec6c7f9d5f..e41c6033d68b 100644 --- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_linux_gnu.rs +++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_linux_gnu.rs @@ -21,6 +21,9 @@ pub(crate) fn target() -> Target { // When we're asked to use the `rust-lld` linker by default, set the appropriate lld-using // linker flavor, and self-contained linker component. if option_env!("CFG_USE_SELF_CONTAINED_LINKER").is_some() { + if true { + panic!("foo"); + } base.linker_flavor = LinkerFlavor::Gnu(Cc::Yes, Lld::Yes); base.link_self_contained = crate::spec::LinkSelfContainedDefault::with_linker(); }