Skip to content

Commit bc6fec6

Browse files
committed
DriverSupport: 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 d71054e commit bc6fec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/DriverSupport/DriverSupportUtils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public enum DriverSupport {
5656
// This checks if given flags are supported in the built-in toolchain driver. Currently
5757
// there's no good way to get the supported flags from it, so run `swiftc -h` directly
5858
// to get the flags and cache the result.
59-
static func checkToolchainDriverFlags(
59+
package static func checkToolchainDriverFlags(
6060
flags: Set<String>,
6161
toolchain: PackageModel.Toolchain,
6262
fileSystem: FileSystem

0 commit comments

Comments
 (0)