Skip to content

Commit 6838123

Browse files
committed
Enable Swift explicit modules tests cross-platform
1 parent db117d2 commit 6838123

File tree

2 files changed

+215
-208
lines changed

2 files changed

+215
-208
lines changed

Sources/SWBTaskExecution/TaskActions/SwiftDriverTaskAction.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,13 @@ final public class SwiftDriverTaskAction: TaskAction, BuildValueValidatingTaskAc
142142
}
143143
}
144144
let contents = ByteString(encodingAsUTF8: ResponseFiles.responseFileContents(args: responseFileCommandLine, format: driverPayload.linkerResponseFileFormat))
145+
try executionDelegate.fs.createDirectory(linkerResponseFilePath.dirname, recursive: true)
145146
try executionDelegate.fs.write(linkerResponseFilePath, contents: contents, atomically: true)
146147
}
147148

148149
return .succeeded
149150
} catch {
150-
outputDelegate.error("Unexpected error in querying jobs from dependency graph: \(error.localizedDescription)")
151+
outputDelegate.error("Unexpected error in querying jobs from dependency graph: \(error)")
151152
return .failed
152153
}
153154
}

0 commit comments

Comments
 (0)