File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Sources/SwiftSDKGenerator/SwiftSDKRecipes Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -197,14 +197,10 @@ package struct WebAssemblyRecipe: SwiftSDKRecipe {
197
197
198
198
// Embedded Swift looks up clang compiler-rt in a different path.
199
199
let embeddedCompilerRTPath = pathsConfiguration. toolchainDirPath. appending (
200
- " usr/lib/swift/clang/lib/wasm32-unknown- wasip1 "
200
+ " usr/lib/swift/clang/lib/wasip1 "
201
201
)
202
202
203
- try await generator. createDirectoryIfNeeded ( at: embeddedCompilerRTPath)
204
- try await generator. createSymlink (
205
- at: embeddedCompilerRTPath. appending ( " libclang_rt.builtins.a " ) ,
206
- pointingTo: " ../../../../swift_static/clang/lib/wasi/libclang_rt.builtins-wasm32.a "
207
- )
203
+ try await generator. createSymlink ( at: embeddedCompilerRTPath, pointingTo: " wasi " )
208
204
209
205
// Copy the WASI sysroot into the SDK bundle.
210
206
let sdkDirPath = pathsConfiguration. swiftSDKRootPath. appending ( " WASI.sdk " )
You can’t perform that action at this time.
0 commit comments