-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Use function shims to make sure EII works on apple targets #151733
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
base: main
Are you sure you want to change the base?
Conversation
|
@bors try jobs=aarch64-apple |
This comment has been minimized.
This comment has been minimized.
Use function shims to make sure EII works on apple targets try-job: aarch64-apple
This comment has been minimized.
This comment has been minimized.
|
ah that's the rebase's fault |
|
try build can still be interesting if the other test succeeds, but idk if we'll fail too fast, lemme rebase |
14c4dda to
2fef4ab
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@bors try cancel |
|
@bors try jobs=aarch64-apple |
|
Try build cancelled. Cancelled workflows: |
Use function shims to make sure EII works on apple targets try-job: aarch64-apple
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 8a39723 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
|
right, things are named differently, maybe we just shouldn't print that |
2fef4ab to
acd2e87
Compare
|
@bors try jobs=aarch64-apple |
Use function shims to make sure EII works on apple targets try-job: aarch64-apple
This comment has been minimized.
This comment has been minimized.
|
doesn't need the envvars anymore now, but let's just run the try build |
|
r? @bjorn3 (if you feel comfortable with this one?) |
|
@bjorn3 gentle reminder if this slipped off your radar. Could reassign if you'd rather someone else review it :) |
|
@rustbot review |
|
r? @oli-obk |
|
|
| /// This does mean that the alias symbol has a different address than the original symbol | ||
| /// (assuming no optimizations by LLVM occur). This is unacceptable for statics. | ||
| /// So for statics we do want to use LLVM aliases, which is fine, | ||
| /// since for those we don't care about target architecture anyway. |
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.
I hope that's true. The type and value can be target arch dependent, so wouldn't there need to be multiple versions anyway on macos?
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.
I don't think we support that. The only thing we need to make sure that for a given single architecture target, we put a target architecture annotation on every callable symbol so apple's linker is happy
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.
Use function shims to make sure EII works on apple targets Use function shims to make sure EII works on apple targets (and generally accepts target-arch attributes) Explainer: rust-lang#146348 (comment) Tracking issue: rust-lang#125418
Use function shims to make sure EII works on apple targets Use function shims to make sure EII works on apple targets (and generally accepts target-arch attributes) Explainer: rust-lang#146348 (comment) Tracking issue: rust-lang#125418
…uwer Rollup of 13 pull requests Successful merges: - #149937 (try enabling `linker-messages` by default again) - #151733 (Use function shims to make sure EII works on apple targets) - #152120 (Don't ICE on layout error in vtable computation) - #152419 (Move more query system code) - #152431 (Restrict the set of things that const stability can be applied to) - #152436 (Reenable a GCI+mGCA+GCPT test case) - #151142 (Support ADT types in type info reflection) - #152021 (Bump tvOS, visionOS and watchOS Aarch64 targets to tier 2) - #152146 (mGCA: Add associated const type check) - #152372 (style: remove unneeded trailing commas) - #152383 (BikeshedGuaranteedNoDrop trait: add comments indicating that it can be observed on stable) - #152397 (Update books) - #152441 (Fix typos and grammar in top-level and src/doc documentation)
Use function shims to make sure EII works on apple targets Use function shims to make sure EII works on apple targets (and generally accepts target-arch attributes) Explainer: rust-lang#146348 (comment) Tracking issue: rust-lang#125418
Use function shims to make sure EII works on apple targets (and generally accepts target-arch attributes)
Explainer: #146348 (comment)
Tracking issue: #125418