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 984618b commit 8e4697dCopy full SHA for 8e4697d
Sources/Workspace/UserToolchain.swift
@@ -223,7 +223,7 @@ public final class UserToolchain: Toolchain {
223
}
224
225
public static func deriveSwiftCFlags(triple: Triple, destination: Destination) -> [String] {
226
- return (triple.isDarwin() || triple.isAndroid()
+ return (triple.isDarwin() || triple.isAndroid() || triple.isWASI()
227
? ["-sdk", destination.sdk.pathString]
228
: [])
229
+ destination.extraSwiftCFlags
0 commit comments