Skip to content

Commit e0300d8

Browse files
committed
Pass "-strict-memory-safety:migrate" through to the frontend
1 parent 9dbee8b commit e0300d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDriver/Jobs/FrontendJobHelpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ extension Driver {
306306
.enableUpcomingFeature,
307307
.disableUpcomingFeature,
308308
from: &parsedOptions)
309-
try commandLine.appendLast(.strictMemorySafety, from: &parsedOptions)
309+
try commandLine.appendLast(.strictMemorySafety, .strictMemorySafetyMigrate, from: &parsedOptions)
310310
try commandLine.appendAll(.moduleAlias, from: &parsedOptions)
311311
if isFrontendArgSupported(.enableBareSlashRegex) {
312312
try commandLine.appendLast(.enableBareSlashRegex, from: &parsedOptions)

0 commit comments

Comments
 (0)