Closed
Conversation
5eac5a3 to
70a12a6
Compare
This was referenced Apr 24, 2026
Owner
Author
|
Superseded by PR #5, which now carries the upstream-ready integration stack plus the integration-only visionOS+ptrauth cross-check follow-up. Keeping the branch for archive/reference history. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rebuilds the arm64e ptrauth spike into an eight-commit upstream-prep stack on top of
mainat36ba2c7712052d731a7082d0eba5ed3d9d56c133.This is intentionally a CypherAir fork draft PR. The upstream-core cut point is before the final fork-only workflow commit; do not send this exact branch to rust-lang/rust unchanged.
Stack
target: add arm64e-apple-visionosarm64e: model default Apple ptrauth featuresarm64e: emit clang-compatible ptrauth metadataarm64e: authenticate indirect function callsarm64e: authenticate function pointers used as dataarm64e: reject incompatible ptrauth flag overridesbootstrap: handle fork shallow upstream detectionci: add fork arm64e validation workflowThe final workflow commit is fork-only and marked to drop before upstream. The bootstrap shallow-ref commit is separate from arm64e codegen so it can be proposed independently or dropped.
Validation
git diff --check main...HEADpython3 x.py check compiler/rustc_codegen_ssa compiler/rustc_codegen_llvm --stage 1fnptr-dataandinvokepython3 x.py build compiler/rustc library/std --stage 1 --target arm64e-apple-darwinpython3 x.py test src/bootstrap --stage 1 --test-args test_push_cipython3 x.py test src/bootstrap --stage 1 --test-args test_ci_merge_without_upstream_parent_falls_back_to_nightly_refarm64e-apple-darwinsamples: hello world,thread_local!, andstd::thread::current().id()all compiled to Mach-O arm64e and ran locally; TLS assembly containsblraaz.python3 x.py test src/bootstrap --stage 0is rejected by this checkout (cannot test anything on stage 0). A fullsrc/bootstrap --stage 1run is blocked locally by missingcmake,ninja, and Linux cross compilers, so the new git-helper tests were run directly.Notes