We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4710e commit 6785852Copy full SHA for 6785852
lib/Option/SanitizerOptions.cpp
@@ -168,7 +168,7 @@ OptionSet<SanitizerKind> swift::parseSanitizerArgValues(
168
}
169
170
// Check that we're one of the known supported targets for sanitizers.
171
- if (!(Triple.isOSDarwin() || Triple.isOSLinux() || Triple.isOSWindows())) {
+ if (!(Triple.isOSDarwin() || Triple.isOSLinux() || Triple.isOSWindows() || Triple.isOSWASI())) {
172
SmallString<128> b;
173
Diags.diagnose(SourceLoc(), diag::error_unsupported_opt_for_target,
174
(A->getOption().getPrefixedName() +
0 commit comments