mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove the -enable-ossa-modules option.
OSSA modules are enabled by default. The compiler still accepts this option but it has no effect.
This commit is contained in:
@@ -426,7 +426,7 @@ ModuleFile::getModuleName(ASTContext &Ctx, StringRef modulePath,
|
||||
bool isFramework = false;
|
||||
serialization::ValidationInfo loadInfo = ModuleFileSharedCore::load(
|
||||
"", "", std::move(newBuf), nullptr, nullptr,
|
||||
/*isFramework=*/isFramework, Ctx.SILOpts.EnableOSSAModules,
|
||||
/*isFramework=*/isFramework,
|
||||
Ctx.LangOpts.SDKName, Ctx.LangOpts.Target,
|
||||
Ctx.SearchPathOpts.DeserializedPathRecoverer, loadedModuleFile);
|
||||
Name = loadedModuleFile->Name.str();
|
||||
|
||||
Reference in New Issue
Block a user