Skip to content

Commit fb3d913

Browse files
authored
Merge pull request #1063 from compnerd/layout
Tests: address TODO for Windows
2 parents c62800f + f57615d commit fb3d913

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)