From 2e1fc0dd14c2897cd6fb4ff433bff2e5297272cb Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Thu, 9 May 2024 15:04:13 +0200 Subject: 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 --- src/Compilation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compilation.zig') 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-version-min argument for darwin. .x86, .x86_64 => { const ver = target.os.version_range.semver.min; -- cgit v1.2.3