From b4071d71818c8f375905d95fcc3da98c534b82b2 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Wed, 20 Sep 2023 13:23:09 -0700 Subject: [PATCH] add emscripten compiler config_setting --- cc/compiler/BUILD | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cc/compiler/BUILD b/cc/compiler/BUILD index 41f00e4..4503aa8 100644 --- a/cc/compiler/BUILD +++ b/cc/compiler/BUILD @@ -69,3 +69,8 @@ config_setting( name = "msvc-cl", flag_values = {"@bazel_tools//tools/cpp:compiler": "msvc-cl"}, ) + +config_setting( + name = "emscripten", + flag_values = {"@bazel_tools//tools/cpp:compiler": "emscripten"}, +)