@@ -932,23 +932,8 @@ final class ExplicitModuleBuildTests: XCTestCase {
932932 return ( stdLibPath, stdLibPath. appending ( component: " shims " ) )
933933 } else if driver. targetTriple. isWindows {
934934 if let sdkroot = try driver. toolchain. defaultSDKPath ( driver. targetTriple) {
935- return ( sdkroot
936- . appending ( component: " usr " )
937- . appending ( component: " lib " )
938- . appending ( component: " swift " )
939- . appending ( component: " windows " )
940- // TODO(compnerd) this should be dropped, but we need to
941- // synchronize with the frontend and installer to ensure that
942- // everything is setup properly. With the swiftmodule
943- // directory structure being supported, we no longer need to
944- // put the swiftmodules in the architecture directory, only
945- // the import libraries.
946- . appending ( component: driver. targetTriple. archName) ,
947- sdkroot
948- . appending ( component: " usr " )
949- . appending ( component: " lib " )
950- . appending ( component: " swift " )
951- . appending ( component: " shims " ) )
935+ return ( sdkroot. appending ( components: " usr " , " lib " , " swift " , " windows " ) ,
936+ sdkroot. appending ( components: " usr " , " lib " , " swift " , " shims " ) )
952937 }
953938 return ( toolchainRootPath
954939 . appending ( component: " lib " )
0 commit comments