There was an error while loading. Please reload this page.
1 parent 60b8f62 commit 4645c6fCopy full SHA for 4645c6f
Sources/SwiftDriver/Jobs/Planning.swift
@@ -238,7 +238,9 @@ extension Driver {
238
jobGroup.append(job)
239
}
240
addJobGroup(jobGroup)
241
- } else {
+ } else if !(compilerOutputType == .swiftModule && shouldCreateEmitModuleJob) {
242
+ // We can skip the compile jobs if all we want is a module when it's
243
+ // built separately.
244
let job = try compileJob(primaryInputs: primaryInputs,
245
outputType: compilerOutputType,
246
addJobOutputs: addJobOutputs,
0 commit comments