Skip to content

[Bazel] feature flags for the Emscripten toolchain #1400

@allsey87

Description

@allsey87

What is the current state of the feature flags for the Emscripten toolchain? It seems like this is in a bit of a half finished state with a lot of options missing. For example:

  1. The exceptions feature that adds either -fno-exceptions or -fexceptions, but no way to set fwasm-exceptions.
  2. Options like PROXY_TO_PTHREAD and WASM_BIGINT are completely missing
  3. There is a feature called wasm_warnings_as_errors which just sets -Werror and seems on by default? I mean, this feature has nothing to do WebAssembly or Emscripten and doesn't seem like it should exist in the toolchain at all?

Is there interest in cleaning this up via some PRs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions