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 64084a1 commit 7e9d341Copy full SHA for 7e9d341
Sources/SwiftDriver/Jobs/Toolchain+LinkerSupport.swift
@@ -119,6 +119,13 @@ extension Toolchain {
119
parsedOptions: inout ParsedOptions,
120
isShared: Bool
121
) throws -> Bool {
122
+ // Currently only ASAN is supported on Windows, but clang builds may
123
+ // include runtime libraries for unsupported sanitizers. Workaround
124
+ // to filter out unsupported sanitizers.
125
+ if targetTriple.isWindows && sanitizer != .address {
126
+ return false
127
+ }
128
+
129
let runtimeName = try runtimeLibraryName(
130
for: sanitizer,
131
targetTriple: targetTriple,
0 commit comments