@@ -57,19 +57,20 @@ extension Driver {
5757 fileSystem: FileSystem ,
5858 executor: DriverExecutor , env: [ String : String ] )
5959 throws -> Set < String > {
60- // If libSwiftScan library is present, use it to query
61- let swiftScanLibPath = try Self . getScanLibPath ( of: toolchain,
62- hostTriple: hostTriple,
63- env: env)
64-
65- if fileSystem. exists ( swiftScanLibPath) {
66- let libSwiftScanInstance = try SwiftScan ( dylib: swiftScanLibPath)
67- if libSwiftScanInstance. canQuerySupportedArguments ( ) {
68- return try libSwiftScanInstance. querySupportedArguments ( )
69- }
70- }
60+ // TODO: Once we are sure libSwiftScan is deployed across supported platforms and architectures
61+ // we should deploy it here.
62+ // let swiftScanLibPath = try Self.getScanLibPath(of: toolchain,
63+ // hostTriple: hostTriple,
64+ // env: env)
65+ //
66+ // if fileSystem.exists(swiftScanLibPath) {
67+ // let libSwiftScanInstance = try SwiftScan(dylib: swiftScanLibPath)
68+ // if libSwiftScanInstance.canQuerySupportedArguments() {
69+ // return try libSwiftScanInstance.querySupportedArguments()
70+ // }
71+ // }
7172
72- // Fallback to invoking `swift-frontend -emit-supported-features`
73+ // Invoke `swift-frontend -emit-supported-features`
7374 let frontendOverride = try FrontendOverride ( & parsedOptions, diagnosticsEngine)
7475 frontendOverride. setUpForTargetInfo ( toolchain)
7576 defer { frontendOverride. setUpForCompilation ( toolchain) }
0 commit comments