emscripten-core / emscripten-core/emscripten

Missing emcc --help documentation on emcc flags that affect wasm codegen?

Open
#12,760 4 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

I was looking for the flag to enable bulk memory operations in emcc, but took a bit of work to find it.

There is also the `-mnontrapping-fptoint` flag that one can pass to `emcc`, that does not seem to be documented in `emcc --help`.

Finally stumbled to https://clang.llvm.org/docs/ClangCommandLineReference.html#webassembly that lists all(?) the flags, but does not explain them.

Would it make sense to collect all these specific flags under `emcc --help`, or some other page, along with an explainer, which browser and shell versions adopted support for them and when, and e.g. a link to the spec?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.