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 0af4d7a commit e177c9aCopy full SHA for e177c9a
Sources/Build/BuildPlan.swift
@@ -1105,7 +1105,7 @@ public final class ProductBuildDescription {
1105
if buildParameters.shouldLinkStaticSwiftStdlib {
1106
if buildParameters.triple.isDarwin() {
1107
diagnostics.emit(.swiftBackDeployError)
1108
- } else if buildParameters.triple.isLinux() {
+ } else if buildParameters.triple.isLinux() || buildParameters.triple.arch == .wasm32 {
1109
args += ["-static-stdlib"]
1110
}
1111
0 commit comments