diff --git a/lib/FrontendTool/ScanDependencies.cpp b/lib/FrontendTool/ScanDependencies.cpp index 874de771df525..1b0360726c8a3 100644 --- a/lib/FrontendTool/ScanDependencies.cpp +++ b/lib/FrontendTool/ScanDependencies.cpp @@ -459,12 +459,6 @@ bool swift::scanDependencies(CompilerInstance &instance) { break; } - // Swift -Onone support library. - if (invocation.shouldImportSwiftONoneSupport()) { - mainDependencies.addModuleDependency( - SWIFT_ONONE_SUPPORT, alreadyAddedModules); - } - // Add any implicit module names. for (const auto &moduleName : importInfo.ModuleNames) { mainDependencies.addModuleDependency(moduleName.str(), alreadyAddedModules);