We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 793837b commit 593c281Copy full SHA for 593c281
bazel/BUILD.bazel
@@ -0,0 +1,4 @@
1
+config_setting(
2
+ name = "compiler_emscripten",
3
+ flag_values = {"@bazel_tools//tools/cpp:compiler": "emscripten"},
4
+)
bazel/copts.bzl
@@ -1,7 +1,10 @@
load("@bazel_skylib//lib:selects.bzl", "selects")
-# Ecsact repositories currently only support clang and cl
+# Ecsact repositories currently only support clang, cl, and emscripten
copts = selects.with_or({
5
+ (Label("//bazel:compiler_emscripten")): [
6
+ "-std=c++20",
7
+ ],
8
("@rules_cc//cc/compiler:clang"): [
9
"-std=c++2b",
10
"-fexperimental-library",
0 commit comments