Skip to content

Commit c2307e1

Browse files
authored
Merge pull request #1906 from DougGregor/strict-memory-safety-migrate-opt
Pass "-strict-memory-safety:migrate" through to the frontend
2 parents cc4bda0 + e0300d8 commit c2307e1

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
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)