We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745ce76 commit d640dc2Copy full SHA for d640dc2
Sources/LLBuildManifest/Tools.swift
@@ -267,7 +267,9 @@ public struct SwiftCompilerTool: ToolProtocol {
267
stream["executable"] = executable
268
stream["module-name"] = moduleName
269
if let moduleAliases = moduleAliases {
270
- stream["module-alias"] = moduleAliases
+ // Format the key and value to pass to -module-alias flag
271
+ let formatted = moduleAliases.map {$0.key + "=" + $0.value}
272
+ stream["module-aliases"] = formatted
273
}
274
stream["module-output-path"] = moduleOutputPath
275
stream["import-paths"] = [importPath]
0 commit comments