mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #75589 from swiftlang/egorzhdan/linux-libcxx-interop
[cxx-interop] Allow compiling with libc++ on Linux
This commit is contained in:
@@ -1469,6 +1469,8 @@ ModuleDecl *CompilerInstance::getMainModule() const {
|
||||
if (Invocation.getLangOptions().EnableCXXInterop &&
|
||||
Invocation.getLangOptions().RequireCxxInteropToImportCxxInteropModule)
|
||||
MainModule->setHasCxxInteroperability();
|
||||
if (Invocation.getLangOptions().EnableCXXInterop)
|
||||
MainModule->setCXXStdlibKind(Invocation.getLangOptions().CXXStdlib);
|
||||
if (Invocation.getLangOptions().AllowNonResilientAccess)
|
||||
MainModule->setAllowNonResilientAccess();
|
||||
if (Invocation.getSILOptions().EnableSerializePackage)
|
||||
|
||||
Reference in New Issue
Block a user