diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2024-05-09 15:04:13 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2024-05-09 15:04:15 +0200 |
| commit | 2e1fc0dd14c2897cd6fb4ff433bff2e5297272cb (patch) | |
| tree | 342325fd62cc47755cf1dddf7305365d298f6fe6 /src/target.zig | |
| parent | 8f202ba7c7c446da9dff4b9ca2bbfb5b21c0aa18 (diff) | |
| download | zig-2e1fc0dd14c2897cd6fb4ff433bff2e5297272cb.tar.gz zig-2e1fc0dd14c2897cd6fb4ff433bff2e5297272cb.zip | |
handle visionos target OS tag in the compiler
* rename .xros to .visionos as agreed in the tracking issue
* add support for VisionOS platform in the MachO linker
Diffstat (limited to 'src/target.zig')
| -rw-r--r-- | src/target.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target.zig b/src/target.zig index 6e77a965cd..99b9abcab8 100644 --- a/src/target.zig +++ b/src/target.zig @@ -26,6 +26,7 @@ pub fn libcNeedsLibUnwind(target: std.Target) bool { .ios, .watchos, .tvos, + .visionos, .freestanding, .wasi, // Wasm/WASI currently doesn't offer support for libunwind, so don't link it. => false, |
