Skip to content

Commit 5f8246b

Browse files
authored
WebAssemblyRecipe: remove -lswift_ConcurrencyDefaultExecutor for embedded (#225)
Embedded Swift Concurrency is currently broken, and linking this library leads to more issues. Let's exclude it for now.
1 parent bfe5cc1 commit 5f8246b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SwiftSDKGenerator/SwiftSDKRecipes/WebAssemblyRecipe.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ package struct WebAssemblyRecipe: SwiftSDKRecipe {
6969

7070
toolset.swiftCompiler?.extraCLIOptions?.append(
7171
// libraries required for concurrency
72-
contentsOf: ["-lc++", "-lswift_Concurrency", "-lswift_ConcurrencyDefaultExecutor"].flatMap {
72+
contentsOf: ["-lc++", "-lswift_Concurrency"].flatMap {
7373
["-Xlinker", $0]
7474
}
7575
)

Tests/SwiftSDKGeneratorTests/SwiftSDKRecipes/WebAssemblyRecipe.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ final class WebAssemblyRecipeTests: XCTestCase {
5656
"-static-stdlib",
5757
"-enable-experimental-feature", "Embedded", "-wmo",
5858
]
59-
+ ["-lc++", "-lswift_Concurrency", "-lswift_ConcurrencyDefaultExecutor"].flatMap {
59+
+ ["-lc++", "-lswift_Concurrency"].flatMap {
6060
["-Xlinker", $0]
6161
}
6262
)

0 commit comments

Comments
 (0)