Skip to content

Commit 74ff92d

Browse files
committed
Propagate the -no-allocations frontend flag to the frontend
1 parent 4163263 commit 74ff92d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ extension Driver {
254254
try commandLine.appendAll(.debugPrefixMap, .coveragePrefixMap, .filePrefixMap, from: &parsedOptions)
255255
try commandLine.appendAllArguments(.Xfrontend, from: &parsedOptions)
256256
try commandLine.appendLast(.warnConcurrency, from: &parsedOptions)
257+
try commandLine.appendLast(.noAllocations, from: &parsedOptions)
257258
if isFrontendArgSupported(.enableExperimentalFeature) {
258259
try commandLine.appendAll(
259260
.enableExperimentalFeature, from: &parsedOptions)

0 commit comments

Comments
 (0)