From c1d6bc702fe9ab9f64a0c152b4cb9b29c728960a Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 7 Oct 2022 08:35:27 -0700 Subject: [PATCH] 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. --- Sources/Commands/Options.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Commands/Options.swift b/Sources/Commands/Options.swift index c2b0ec94b72..886e594838d 100644 --- a/Sources/Commands/Options.swift +++ b/Sources/Commands/Options.swift @@ -319,8 +319,8 @@ struct BuildOptions: ParsableArguments { var indexStoreMode: StoreMode = .autoIndexStore /// Whether to enable generation of `.swiftinterface`s alongside `.swiftmodule`s. - @Flag(name: .customLong("enable-parseable-module-interfaces")) - var shouldEnableParseableModuleInterfaces: Bool = false + @Flag(name: .customLong("parseable-module-interfaces"), inversion: .prefixedEnableDisable) + var shouldEnableParseableModuleInterfaces: Bool = true /// The number of jobs for llbuild to start (aka the number of schedulerLanes) @Option(name: .shortAndLong, help: "The number of jobs to spawn in parallel during the build process")