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
This commit is contained in:
@@ -45,7 +45,7 @@ fn clear_cache(start: usize, end: usize) callconv(.C) void {
|
||||
else => false,
|
||||
};
|
||||
const apple = switch (os) {
|
||||
.ios, .macos, .watchos, .tvos => true,
|
||||
.ios, .macos, .watchos, .tvos, .visionos => true,
|
||||
else => false,
|
||||
};
|
||||
if (x86) {
|
||||
|
||||
Reference in New Issue
Block a user