We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 862d2f6 commit 2c1b4cfCopy full SHA for 2c1b4cf
Tests/PackageLoading/ManifestTests.swift
@@ -49,9 +49,8 @@ private struct Resources: ManifestResourceProvider {
49
#endif
50
let libraryPath = bundleRoot()
51
#else
52
- let execBinDir = AbsolutePath(CommandLine.arguments.first!, relativeTo: currentWorkingDirectory).parentDirectory
53
- let libraryPath = execBinDir
54
- let swiftCompilerPath = execBinDir.appending(component: "swiftc")
+ let libraryPath = AbsolutePath(CommandLine.arguments.first!, relativeTo: currentWorkingDirectory).parentDirectory
+ let swiftCompilerPath = AbsolutePath(CommandLine.arguments.first!, relativeTo: currentWorkingDirectory).parentDirectory.appending(component: "swiftc")
55
56
}
57
0 commit comments