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 | 22fd1851bd56dae5b61e5f170671f3af5ef54330 (patch) | |
| tree | 631a1e010de32051879bab6898e5a4b7bede339b /lib/std/Build/Step/InstallFile.zig | |
| parent | 11bc3fb1906e10ed38fb913559a6c36d4c027e22 (diff) | |
| download | zig-22fd1851bd56dae5b61e5f170671f3af5ef54330.tar.gz zig-22fd1851bd56dae5b61e5f170671f3af5ef54330.zip | |
zig libc: allow non-native targets
On macos, allow targets supported by the SDK. This then spawns `xcrun`
and correct paths are emitted for:
- x86_64-macos
- x86_64-ios
- x86_64-tvos
- x86_64-watchos
- x86_64-ios-macbi
- aarch64-macos
- aarch64-ios
- aarch64-tvos
- aarch64-watchos
- aarch64-ios-macbi
On platforms with android NDK, allow android targets. Example usage:
```
CC=/NDK/.../bin/aarch64-linux-android34-clang zig libc -target aarch64-linux-android
```
Diffstat (limited to 'lib/std/Build/Step/InstallFile.zig')
0 files changed, 0 insertions, 0 deletions
