Skip to content

Commit 5413b60

Browse files
committed
add missing copts
1 parent 4bb62bc commit 5413b60

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fuzzing/BUILD.bazel

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ cc_test(
77
name = "snmalloc_fuzzer",
88
srcs = ["snmalloc-fuzzer.cpp"],
99
copts = [
10-
"-fexperimental-library", # needed for std::execution::unseq,
1110
"-fsanitize=address",
12-
],
11+
] + select({
12+
"@bazel_tools//tools/cpp:clang-cl": ["-fexperimental-library"], # needed for std::execution::unseq,
13+
"//conditions:default": ["-mcx16"],
14+
}),
1315
defines = [
1416
"SNMALLOC_USE_WAIT_ON_ADDRESS=0",
1517
"ADDRESS_SANITIZER",

0 commit comments

Comments
 (0)