File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ public struct SwiftBuildCommand: AsyncSwiftCommand {
140
140
throw ExitCode . failure
141
141
}
142
142
143
- if self . globalOptions. build. useAsyncBuildSystem {
143
+ if self . globalOptions. build. buildSystem == . experimentalAsync {
144
144
let buildSystem = try swiftCommandState. createAsyncBuildSystem (
145
145
explicitProduct: options. product,
146
146
shouldLinkStaticSwiftStdlib: options. shouldLinkStaticSwiftStdlib,
Original file line number Diff line number Diff line change @@ -446,9 +446,6 @@ public struct BuildOptions: ParsableArguments {
446
446
@Option ( name: . customLong( " build-system " ) )
447
447
var _buildSystem : BuildSystemProvider . Kind = . native
448
448
449
- @Flag ( name: . customLong( " experimental-async-build-system " ) , help: . hidden)
450
- public var useAsyncBuildSystem : Bool = false
451
-
452
449
/// The Debug Information Format to use.
453
450
@Option ( name: . customLong( " debug-info-format " , withSingleDash: true ) )
454
451
public var debugInfoFormat : DebugInfoFormat = . dwarf
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ public struct BuildSystemProvider {
132
132
public enum Kind : String , CaseIterable {
133
133
case native
134
134
case xcode
135
+ case experimentalAsync = " experimental-async "
135
136
}
136
137
137
138
public let providers : [ Kind : any BuildSystemFactory ]
You can’t perform that action at this time.
0 commit comments