Skip to content

Commit 7ff0b12

Browse files
committed
generator: Do not include the host toolchain by default
Not including the host toolchain matches the Swift Static Linux SDK. Users with experience of the static SDK will be familiar with the need to install a matching OSS toolchain to use it: https://www.swift.org/documentation/articles/static-linux-getting-started.html#installing-the-sdk Not including the host toolchain reduces the size of the SDK bundle by about 2GB. This makes SDKs easier to move around, wastes less storage space if multiple SDKs are installed, and speeds up the SDK build process - especially the first build, as the host toolchain does not have to be downloaded. WASM SDKs also do not include the host toolchain.
1 parent aef48de commit 7ff0b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GeneratorCLI/GeneratorCLI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ extension GeneratorCLI {
115115
but requires exactly the same version of the swift.org toolchain to be installed for it to work.
116116
"""
117117
)
118-
var hostToolchain: Bool = true
118+
var hostToolchain: Bool = false
119119

120120
@Option(
121121
help: """

0 commit comments

Comments
 (0)