Skip to content

Commit

Permalink
Merge pull request #2436 from ahoppen/ahoppen/509/no-process-on-visionos
Browse files Browse the repository at this point in the history
[509] Add visionOS to the list of platforms that can't start a new process from swift-parser-cli
  • Loading branch information
ahoppen authored Jan 23, 2024
2 parents 43c802f + 37f85f7 commit 64889f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/swift-parser-cli/Commands/Reduce.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct Reduce: ParsableCommand {
/// Invoke `swift-parser-cli verify-round-trip` with the same arguments as this `reduce` subcommand.
/// Returns the exit code of the invocation.
private func runVerifyRoundTripInSeparateProcess(source: [UInt8]) throws -> ProcessExit {
#if os(iOS) || os(tvOS) || os(watchOS)
#if os(iOS) || os(tvOS) || os(watchOS) || os(visionOS)
// We cannot launch a new process on iOS-like platforms.
// Default to running verification in-process.
// Honestly, this isn't very important because you can't launch swift-parser-cli
Expand Down

0 comments on commit 64889f0

Please sign in to comment.