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.
swift-autolink-extract
swift
1 parent bbf2442 commit 311e535Copy full SHA for 311e535
Sources/SwiftSDKGenerator/SwiftSDKRecipes/WebAssemblyRecipe.swift
@@ -100,7 +100,8 @@ public struct WebAssemblyRecipe: SwiftSDKRecipe {
100
let autolinkExtractPath = generator.pathsConfiguration.toolchainBinDirPath.appending("swift-autolink-extract")
101
102
// WebAssembly object file requires `swift-autolink-extract`
103
- if await !generator.doesFileExist(at: autolinkExtractPath) {
+ if await !generator.doesFileExist(at: autolinkExtractPath),
104
+ await generator.doesFileExist(at: generator.pathsConfiguration.toolchainBinDirPath.appending("swift")) {
105
logGenerationStep("Fixing `swift-autolink-extract` symlink...")
106
try await generator.createSymlink(at: autolinkExtractPath, pointingTo: "swift")
107
}
0 commit comments