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/Compilation.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/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 2497081a5e..b830311733 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -5280,7 +5280,7 @@ pub fn addCCArgs( // doesn't matter which one gets overridden. argv.appendAssumeCapacity("-Wno-overriding-option"); }, - .ios, .tvos, .watchos => switch (target.cpu.arch) { + .ios => switch (target.cpu.arch) { // Pass the proper -m<os>-version-min argument for darwin. .x86, .x86_64 => { const ver = target.os.version_range.semver.min; |
