Skip to content

Commit b0aa4c5

Browse files
committed
Propagate enable builtin module
1 parent 40a45ec commit b0aa4c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ extension Driver {
296296
try commandLine.appendLast(.clangBuildSessionFile, from: &parsedOptions)
297297
}
298298

299+
if isFrontendArgSupported(.enableBuiltinModule) {
300+
try commandLine.appendLast(.enableBuiltinModule, from: &parsedOptions)
301+
}
302+
299303
if let workingDirectory = workingDirectory {
300304
// Add -Xcc -working-directory before any other -Xcc options to ensure it is
301305
// overridden by an explicit -Xcc -working-directory, although having a

0 commit comments

Comments
 (0)