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.
2 parents 38c9387 + 394c5bb commit 2af7accCopy full SHA for 2af7acc
Sources/swift-build-sdk-interfaces/main.swift
@@ -148,6 +148,11 @@ do {
148
if let mcp = getArgument(mcpFlag) {
149
args.append(mcpFlag)
150
args.append(mcp)
151
+ // Create module cache dir if absent.
152
+ let mcpPath = try VirtualPath(path: mcp).absolutePath!
153
+ if !localFileSystem.exists(mcpPath) {
154
+ try localFileSystem.createDirectory(mcpPath, recursive: true)
155
+ }
156
}
157
let baselineABIDir = try getArgumentAsPath("-baseline-abi-dir")
158
var driver = try Driver(args: args,
0 commit comments