-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove legacy bitcode defaults from all Apple specs #117364
Remove legacy bitcode defaults from all Apple specs #117364
Conversation
r? @TaKO8Ki (rustbot has picked a reviewer for you, use r? to override) |
These commits modify compiler targets. |
One open question: Should the Apple-specific |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome cleanup!
I don't think that's safe to remove unless the |
It's better to re-roll it r? compiler |
This comment was marked as resolved.
This comment was marked as resolved.
4342a52
to
b27c3b7
Compare
Rebased to remove conflicts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, if there are more parts that you can remove and that were only used by these targets, then I think you should feel free to do so - they can always be resurrected from the Git history if reqd - but I'll approve and merge this for now and that can be for a follow-up.
@bors r+ rollup |
☀️ Test successful - checks-actions |
Finished benchmarking commit (7d0e1bc): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 675.196s -> 674.69s (-0.07%) |
… r=petrochenkov Fix arm64e-apple-ios target - [x] [Remove legacy `bitcode` defaults](rust-lang#117364) - [x] Use LLVM features Now we have warnings such as ``` '+paca' is not a recognized feature for this target (ignoring feature) '+pacg' is not a recognized feature for this target (ignoring feature) ``` Because we should use LLVM features.
…=petrochenkov Fix arm64e-apple-ios target - [x] [Remove legacy `bitcode` defaults](rust-lang#117364) - [x] Use LLVM features Now we have warnings such as ``` '+paca' is not a recognized feature for this target (ignoring feature) '+pacg' is not a recognized feature for this target (ignoring feature) ``` Because we should use LLVM features.
Remove legacy bitcode for iOS Follow rust-lang#117364.
Rollup merge of rust-lang#133297 - DianQK:embed-bitcode-ios, r=nikic Remove legacy bitcode for iOS Follow rust-lang#117364.
Xcode 14 deprecated bitcode with warnings and now Xcode 15 has dropped it completely.
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.Two things show this should have minimal impact:
I didn't nuke all the bitcode changes added in #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