about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-19 05:35:08 +0000
committerbors <bors@rust-lang.org>2023-11-19 05:35:08 +0000
commit7d0e1bca0fd1cf26cb71a1271a782cd66ea1d9a9 (patch)
tree876c2d677ad0a9b98d911e5869165ed6f0efb63c /compiler/rustc_codegen_gcc
parentd052f6fde6464326fb06e3d22df503e1d3cb0ae8 (diff)
parentb27c3b7f218177f6cdb0fb2f9869ab02df36e00d (diff)
downloadrust-7d0e1bca0fd1cf26cb71a1271a782cd66ea1d9a9.tar.gz
rust-7d0e1bca0fd1cf26cb71a1271a782cd66ea1d9a9.zip
Auto merge of #117364 - BlackHoleFox:farewell-bitcode-no-remorse, r=davidtwco
Remove legacy bitcode defaults from all Apple specs

Xcode 14 [deprecated bitcode with warnings](https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes#Deprecations) and now [Xcode 15 has dropped it completely](https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Deprecations). `rustc` should follow what the platform tooling is doing as well since it just increases binary sizes for no gain at this point.

`cc` made a [similar change last month](https://github.com/rust-lang/cc-rs/pull/812).

Two things show this should have minimal impact:
- Apple has stopped accepting apps built with versions of Xcode (<14) that generate bitcode
- The app store has been stripping bitcode off IPA releases for over 2 years now.

I didn't nuke all the bitcode changes added in https://github.com/rust-lang/rust/pull/71970/ since maybe another target in the future could need mandatory bitcode embedding.

Staticlibs built for iOS still link correctly with XCode 15 against a test app when using a compiler built from this branch.

cc `@thomcc` `@keith`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions