Skip to content

Commit 6c35d4a

Browse files
committed
Fix parsed name of the newly-added SDKPlatformKind to use raw toolchain name
Resolves rdar://127704084
1 parent 59a7770 commit 6c35d4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftDriver/Toolchains/DarwinToolchain.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ public final class DarwinToolchain: Toolchain {
289289
case watchsimulator
290290
case appletvos
291291
case appletvsimulator
292-
case visionos
293-
case visionsimulator
292+
case visionos = "xros"
293+
case visionsimulator = "xrsimulator"
294294
case unknown
295295
}
296296

0 commit comments

Comments
 (0)