We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ad5c40 + 6785852 commit 6bb2b64Copy full SHA for 6bb2b64
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