bazelbuild / rules_cc

C++ Rules for Bazel
https://bazel.build
Apache License 2.0
176 stars 88 forks source link

add emscripten compiler config_setting #198

Open zaucy opened 10 months ago

zaucy commented 10 months ago

I'm using emscripten for compiling some wasm and they use a different compiler identifier for their bazel toolchain. I think emscripten is different enough that it warrants it's own compiler setting dispite the recommendation that other toolchains use the already established identifiers.

Here's where it's being set in their toolchain: https://github.com/emscripten-core/emsdk/blob/93360d3670018769b424e4e8f1d3d9b26d32c977/bazel/emscripten_toolchain/toolchain.bzl#L68