Currently, when linking wasm, clang attempts to detect wasm-opt in the environment, and invokes it with certain flags based on current optimization level. source
This behavior is undesirable when user wants to customize when or how wasm-opt is run. It would be nice if a clang command line flag can be provided to opt-out of this behavior.
Currently, when linking wasm,
clangattempts to detectwasm-optin the environment, and invokes it with certain flags based on current optimization level. sourceThis behavior is undesirable when user wants to customize when or how
wasm-optis run. It would be nice if aclangcommand line flag can be provided to opt-out of this behavior.