Skip to content

Commit 96dff51

Browse files
committed
Fix describe() signature used in linux
1 parent f1ec3a0 commit 96dff51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/swift-build/xp.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import Build
1414
import POSIX
1515

1616
#if os(Linux)
17-
public func describe(prefix: String, _ conf: Configuration, _ modules: [Module], _ products: [Product], Xcc: [String], Xld: [String], Xswiftc: [String]) throws -> String {
17+
public func describe(prefix: String, _ conf: Configuration, _ modules: [Module], _ externalModules: Set<Module>, _ products: [Product], Xcc: [String], Xld: [String], Xswiftc: [String]) throws -> String {
1818
do {
19-
return try Build.describe(prefix, conf, modules, products, Xcc: Xcc, Xld: Xld, Xswiftc: Xswiftc)
19+
return try Build.describe(prefix, conf, modules, externalModules, products, Xcc: Xcc, Xld: Xld, Xswiftc: Xswiftc)
2020
} catch {
2121

2222
// it is a common error on Linux for clang++ to not be installed, but

0 commit comments

Comments
 (0)