Skip to content

Commit

Permalink
Auto merge of rust-lang#112049 - Kobzol:pgo-omit-benchmarks, r=<try>
Browse files Browse the repository at this point in the history
[do not merge] CI experiments

Various CI experiments for try/dist builds.

r? `@ghost`

try-job: x86_64-gnu
  • Loading branch information
bors committed Jan 3, 2025
2 parents 319f529 + 89e0476 commit 7fe23cb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 7fe23cb

Please sign in to comment.