Skip to content

Commit

Permalink
Auto merge of #103092 - petrochenkov:weaklto, r=wesleywiser
Browse files Browse the repository at this point in the history
linker: Fix weak lang item linking with combination windows-gnu + LLD + LTO

In rust-lang/rust#100404 this logic was originally disabled for MSVC due to issues with LTO, but the same issues appear on windows-gnu with LLD because that LLD uses the same underlying logic as MSVC LLD, just with re-syntaxed command line options.

So this PR just disables it for LTO builds in general.
  • Loading branch information
bors committed Oct 20, 2022
2 parents 1137560 + 9a77d97 commit 5f13dcd
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5f13dcd

Please sign in to comment.