Commit fda44c1
authored
Unrolled build for #155716
Rollup merge of #155716 - cypherair:prep/upstream-ready-arm64e-ptrauth-core-diagnostics-2026-04-24-u9836b06, r=madsmtm
arm64e: set ptrauth ABI subtype on lib.rmeta Mach-O objects
Set `CPU_SUBTYPE_PTRAUTH_ABI` (as well as the existing `CPU_SUBTYPE_ARM64E`) on ARM64e object files that `rustc` creates, to match Clang/LLVM-generated ARM64e objects.
This corresponds to `cpusubtype == 0x80000002`. Before this change, rustc emitted the bare `CPU_SUBTYPE_ARM64E` subtype for the metadata wrapper objects / `symbols.o` file, producing `0x00000002`, which can be reported by Apple's linker as `arm64e.old`.
Fixes [#130085](#130085).
Fixes [#143844](#143844).
Fixes [#150046](#150046).
Fixes [#139218](#139218).1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
220 | 222 | | |
221 | 223 | | |
222 | 224 | | |
| |||
0 commit comments