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 59877f1 commit 4b69ec6Copy full SHA for 4b69ec6
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. Manually
124
+ // disable 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