Skip to content

Commit 64889f0

Browse files
authored
Merge pull request #2436 from ahoppen/ahoppen/509/no-process-on-visionos
[509] Add visionOS to the list of platforms that can't start a new process from swift-parser-cli
2 parents 43c802f + 37f85f7 commit 64889f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/swift-parser-cli/Commands/Reduce.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ struct Reduce: ParsableCommand {
6666
/// Invoke `swift-parser-cli verify-round-trip` with the same arguments as this `reduce` subcommand.
6767
/// Returns the exit code of the invocation.
6868
private func runVerifyRoundTripInSeparateProcess(source: [UInt8]) throws -> ProcessExit {
69-
#if os(iOS) || os(tvOS) || os(watchOS)
69+
#if os(iOS) || os(tvOS) || os(watchOS) || os(visionOS)
7070
// We cannot launch a new process on iOS-like platforms.
7171
// Default to running verification in-process.
7272
// Honestly, this isn't very important because you can't launch swift-parser-cli

0 commit comments

Comments
 (0)