Skip to content

Commit

Permalink
Auto merge of rust-lang#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#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 36ab96e + 09f3b98 commit d792546
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit d792546

Please sign in to comment.