Commit 3fa6f87
committed
feat(macos): built-in default deployment floor 14.0 (rustc-style)
cargo's key portability win on macOS is that every Apple target carries
a built-in default deployment target (aarch64 = 11.0) instead of
floating with the host SDK — artifacts run on older systems with zero
configuration. Adopt the same: when neither MACOSX_DEPLOYMENT_TARGET
nor [build] macos_deployment_target is set and staticStdlib is on,
default the floor to 14.0 (the official LLVM static libc++ archives'
own floor). Mirrored in the fingerprint rule. Without staticStdlib the
toolchain/SDK default still applies (a dynamically-linked binary can't
promise a lower floor than the host libc++ anyway).1 parent 563c203 commit 3fa6f87
3 files changed
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
112 | 124 | | |
113 | 125 | | |
114 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
603 | 609 | | |
604 | 610 | | |
605 | 611 | | |
| |||
0 commit comments