Skip to content

Commit

Permalink
Auto merge of #131634 - davidlattimore:lld-protected, r=Kobzol
Browse files Browse the repository at this point in the history
Use protected visibility when building rustc with LLD

rust-lang/compiler-team#782

I wasn't sure about having two commits in a PR, but I figured, at least initially it might make sense to discuss these commits together. Happy to squash, or move the second commit to a separate PR.

I contemplated trying to enable protected visibility for more cases when LLD will be used other than just `-Zlinker-features=+lld`, but that would be more a complex change that probably still wouldn't cover all cases when LLD is used, so went with the simplest option of just checking if the linker-feature is enabled.

r? lqd
  • Loading branch information
bors committed Nov 1, 2024
2 parents 65ecfc4 + c5569e0 commit 5f5369e
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5f5369e

Please sign in to comment.