Skip to content

Commit 6bb2b64

Browse files
Merge pull request #81197 from kateinoigakukun/yt/asan-wasi
2 parents 6ad5c40 + 6785852 commit 6bb2b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Option/SanitizerOptions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ OptionSet<SanitizerKind> swift::parseSanitizerArgValues(
168168
}
169169

170170
// Check that we're one of the known supported targets for sanitizers.
171-
if (!(Triple.isOSDarwin() || Triple.isOSLinux() || Triple.isOSWindows())) {
171+
if (!(Triple.isOSDarwin() || Triple.isOSLinux() || Triple.isOSWindows() || Triple.isOSWASI())) {
172172
SmallString<128> b;
173173
Diags.diagnose(SourceLoc(), diag::error_unsupported_opt_for_target,
174174
(A->getOption().getPrefixedName() +

0 commit comments

Comments
 (0)