Skip to content

Commit 51cdb8d

Browse files
committed
Remove unnecessary TSCLibc dependency
Remove the `TSCLibc` dependency as we do not depend on any of the interfaces from the module. This matters particularly on Windows where static linking Swift content is not available, so this will reduce the amount of dirty memory due to the dynamic library link that cannot be removed.
1 parent 92f9d94 commit 51cdb8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Commands/SwiftTool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import PackageModel
1919
import SourceControl
2020
import SPMBuildCore
2121
import TSCBasic
22-
import TSCLibc
22+
2323
import TSCUtility
2424
import Workspace
2525
import XCBuildSupport

Tests/FunctionalTests/MiscellaneousTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import PackageModel
1212
import SourceControl
1313
import SPMTestSupport
1414
import TSCBasic
15-
import TSCLibc
15+
1616
import TSCUtility
1717
import Workspace
1818
import XCTest

0 commit comments

Comments
 (0)