about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-01 05:25:27 +0000
committerbors <bors@rust-lang.org>2024-11-01 05:25:27 +0000
commit9fa9ef385c0aad8f5d4c8f7d92dca474367943a3 (patch)
treeefc5f6110447cbe584f543a705ff5092c7dc8980 /compiler/rustc_const_eval/src
parenta8e1186e3c14a54f7a38cc1183117dc7e77f4f82 (diff)
parent00da974c5c66113c3649e4076da4d74cada8604b (diff)
downloadrust-9fa9ef385c0aad8f5d4c8f7d92dca474367943a3.tar.gz
rust-9fa9ef385c0aad8f5d4c8f7d92dca474367943a3.zip
Auto merge of #131634 - davidlattimore:lld-protected, r=Kobzol
Use protected visibility when building rustc with LLD

https://github.com/rust-lang/compiler-team/issues/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
Diffstat (limited to 'compiler/rustc_const_eval/src')
0 files changed, 0 insertions, 0 deletions