Skip to content

Commit 2f03e7a

Browse files
authored
Require explicit build system when initializing BuildParameters (#8861)
This default value is not currently used, and removing it helps prevent accidentally introducing a dependency on the .native build system
1 parent 3db835d commit 2f03e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SPMBuildCore/BuildParameters/BuildParameters.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public struct BuildParameters: Encodable {
154154
toolchain: Toolchain,
155155
triple: Triple? = nil,
156156
flags: BuildFlags,
157-
buildSystemKind: BuildSystemProvider.Kind = .native,
157+
buildSystemKind: BuildSystemProvider.Kind,
158158
pkgConfigDirectories: [Basics.AbsolutePath] = [],
159159
architectures: [String]? = nil,
160160
workers: UInt32 = UInt32(ProcessInfo.processInfo.activeProcessorCount),

0 commit comments

Comments
 (0)