Skip to content

Commit

Permalink
Handle emitSupportedFeatures output mode.
Browse files Browse the repository at this point in the history
Partially resolves swiftlang/swift#74910
  • Loading branch information
rjmansfield committed Jul 2, 2024
1 parent 6d1e5d2 commit 33937c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/SwiftDriver/Driver/Driver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2223,6 +2223,9 @@ extension Driver {
case .scanDependencies:
compilerOutputType = .jsonDependencies

case .emitSupportedFeatures:
compilerOutputType = .jsonCompilerFeatures

default:
fatalError("unhandled output mode option \(outputOption)")
}
Expand Down

0 comments on commit 33937c0

Please sign in to comment.