Skip to content

Commit a5bd01e

Browse files
committed
[bazel] Exclude lib/Interpreter/Wasm.h from //clang:interpreter
We're currently excluding Wasm.cpp, because it requires emscripten. When using header modules, Wasm.h gets compiled on its own and it also requires emscripten, so we need to exclude both.
1 parent 8ac0aaa commit a5bd01e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/bazel/llvm-project-overlay/clang/BUILD.bazel

+4-1
Original file line numberDiff line numberDiff line change
@@ -1951,7 +1951,10 @@ cc_library(
19511951
"lib/Interpreter/*.cpp",
19521952
"lib/Interpreter/*.h",
19531953
],
1954-
exclude = ["lib/Interpreter/Wasm.cpp"],
1954+
exclude = [
1955+
"lib/Interpreter/Wasm.cpp",
1956+
"lib/Interpreter/Wasm.h",
1957+
],
19551958
),
19561959
hdrs = glob(["include/clang/Interpreter/*.h"]),
19571960
includes = ["include"],

0 commit comments

Comments
 (0)