Skip to content

Commit c1d6bc7

Browse files
committed
Commands: enable the parseable module interface by default
Enable the swift module interface to be emitted by default. This is helpful for API surface tracking and can potentially enable perusal of the swiftinterface in VSCode mirroring what XCode already permits.
1 parent d61b1ea commit c1d6bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Commands/Options.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ struct BuildOptions: ParsableArguments {
319319
var indexStoreMode: StoreMode = .autoIndexStore
320320

321321
/// Whether to enable generation of `.swiftinterface`s alongside `.swiftmodule`s.
322-
@Flag(name: .customLong("enable-parseable-module-interfaces"))
323-
var shouldEnableParseableModuleInterfaces: Bool = false
322+
@Flag(name: .customLong("parseable-module-interfaces"), inversion: .prefixedEnableDisable)
323+
var shouldEnableParseableModuleInterfaces: Bool = true
324324

325325
/// The number of jobs for llbuild to start (aka the number of schedulerLanes)
326326
@Option(name: .shortAndLong, help: "The number of jobs to spawn in parallel during the build process")

0 commit comments

Comments
 (0)