diff options
| author | Michael Dusan <michael.dusan@gmail.com> | 2024-03-13 02:17:28 -0400 |
|---|---|---|
| committer | Michael Dusan <michael.dusan@gmail.com> | 2024-03-13 02:17:28 -0400 |
| commit | 197ffff0b8d1c5257d66775d4cc46bcbfd570a90 (patch) | |
| tree | a2ae6a6a5944be7ba8391f19bc073691533cbdc8 /lib/std/Build/Step | |
| parent | 22fd1851bd56dae5b61e5f170671f3af5ef54330 (diff) | |
| download | zig-197ffff0b8d1c5257d66775d4cc46bcbfd570a90.tar.gz zig-197ffff0b8d1c5257d66775d4cc46bcbfd570a90.zip | |
macos: add tbd-v3 zippered support
Support linking against tbd-v3 SDKs such as those bundled with
Xcode 10.3 → 11.3.1 .
- Map target os=`ios` and abi=`macabi` to macho.PLATFORM.MACCATALYST.
This allows for matches against tbdv4 targets, eg. `x86_64-maccatalyst`.
- When parsing old tbdv3 files with `zippered` platform, we append
[`ARCH-macos`, `ARCH-maccatalyst`] to list of "tbd" targets. This
enables linking for standard targets like `ARCH-macos-none` and
maccatalyst targets `ARCH-ios-macabi`.
- Update mappings for macho platform and zig target macabi. While this
is not full maccatalyst support, a basic exe can be built as follows:
```
zig libc > libc.txt
zig build-exe z0.zig --libc libc.txt -target x86_64-ios-macabi
```
closes #19110
Diffstat (limited to 'lib/std/Build/Step')
0 files changed, 0 insertions, 0 deletions
