Skip to content

Commit 2d53d73

Browse files
committed
[SE-0458] Pass -strict-memory-safety through to the frontend
1 parent a38a06c commit 2d53d73

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
@@ -301,6 +301,7 @@ extension Driver {
301301
.enableUpcomingFeature,
302302
.disableUpcomingFeature,
303303
from: &parsedOptions)
304+
try commandLine.appendLast(.strictMemorySafety, from: &parsedOptions)
304305
try commandLine.appendAll(.moduleAlias, from: &parsedOptions)
305306
if isFrontendArgSupported(.enableBareSlashRegex) {
306307
try commandLine.appendLast(.enableBareSlashRegex, from: &parsedOptions)

0 commit comments

Comments
 (0)