Skip to content

Commit fab0e39

Browse files
Keep Swift libraries linked by compiler tools (#82)
Swift libraries for host platforms are linked by the Swift compiler tools, so they should not be removed from the toolchain directory.
1 parent dadbc3e commit fab0e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSDKGenerator/SwiftSDKRecipes/WebAssemblyRecipe.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public struct WebAssemblyRecipe: SwiftSDKRecipe {
6060
}()
6161
try await generator.removeToolchainComponents(
6262
pathsConfiguration.toolchainDirPath,
63-
platforms: unusedDarwinPlatforms + ["linux", "embedded"],
63+
platforms: unusedDarwinPlatforms + ["embedded"],
6464
libraries: unusedHostLibraries + liblldbNames,
6565
binaries: unusedHostBinaries + ["lldb", "lldb-argdumper", "lldb-server"]
6666
)

0 commit comments

Comments
 (0)