Skip to content

Commit 22cc919

Browse files
committed
SPMBuildCore: make some of the private API more public
This extends the visibility of some of the private implementation to the package level to allow use for testing without `@testable` imports.
1 parent c11860d commit 22cc919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SPMBuildCore/BinaryTarget+Extensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ extension BinaryModule {
109109
}
110110

111111
extension Triple {
112-
func withoutVersion() throws -> Triple {
112+
package func withoutVersion() throws -> Triple {
113113
if isDarwin() {
114114
let stringWithoutVersion = tripleString(forPlatformVersion: "")
115115
return try Triple(stringWithoutVersion)

0 commit comments

Comments
 (0)