mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[embedded] Also specify -enable-experimental-feature Embedded to sub-invocations
This commit is contained in:
@@ -2083,6 +2083,8 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
|
||||
// Inherit Embedded Swift
|
||||
if (langOpts.hasFeature(Feature::Embedded)) {
|
||||
genericSubInvocation.getLangOptions().enableFeature(Feature::Embedded);
|
||||
GenericArgs.push_back("-enable-experimental-feature");
|
||||
GenericArgs.push_back("Embedded");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user