mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #37211 from compnerd/windows-static-linking
IRGen: support static linking on Windows
This commit is contained in:
@@ -722,6 +722,7 @@ LoadedFile *SerializedModuleLoaderBase::loadAST(
|
||||
|
||||
// We've loaded the file. Now try to bring it into the AST.
|
||||
fileUnit = new (Ctx) SerializedASTFile(M, *loadedModuleFile);
|
||||
M.setStaticLibrary(loadedModuleFile->isStaticLibrary());
|
||||
if (loadedModuleFile->isTestable())
|
||||
M.setTestingEnabled();
|
||||
if (loadedModuleFile->arePrivateImportsEnabled())
|
||||
|
||||
Reference in New Issue
Block a user