File tree Expand file tree Collapse file tree 3 files changed +44
-29
lines changed Expand file tree Collapse file tree 3 files changed +44
-29
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,7 @@ extension Driver {
116
116
}
117
117
118
118
// Add flags for C++ interop
119
- if parsedOptions. hasArgument ( . enableExperimentalCxxInterop) {
120
- commandLine. appendFlag ( . enableCxxInterop)
121
- }
119
+ try commandLine. appendLast ( . enableExperimentalCxxInterop, from: & parsedOptions)
122
120
if let stdlibVariant = parsedOptions. getLastArgument ( . experimentalCxxStdlib) ? . asSingle {
123
121
commandLine. appendFlag ( " -Xcc " )
124
122
commandLine. appendFlag ( " -stdlib= \( stdlibVariant) " )
@@ -152,7 +150,6 @@ extension Driver {
152
150
try commandLine. appendLast ( . enableLibraryEvolution, from: & parsedOptions)
153
151
try commandLine. appendLast ( . enableTesting, from: & parsedOptions)
154
152
try commandLine. appendLast ( . enablePrivateImports, from: & parsedOptions)
155
- try commandLine. appendLast ( . enableCxxInterop, from: & parsedOptions)
156
153
try commandLine. appendLast ( in: . g, from: & parsedOptions)
157
154
try commandLine. appendLast ( . debugInfoFormat, from: & parsedOptions)
158
155
try commandLine. appendLast ( . importUnderlyingModule, from: & parsedOptions)
You can’t perform that action at this time.
0 commit comments