[clang] [WebAssembly] Disable running `wasm-opt` on components (PR #98373)
Quentin Michaud via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 11 00:10:14 PDT 2024
mh4ck-Thales wrote:
The tests for the use of `wasm-opt` are hard to integrate into the LLVM project as `wasm-opt` is not part of the LLVM toolchain itself (which is the initial use case for the new `--no-wasm-opt` flag: as LLVM is not distributed with `wasm-opt` by default a same compilation command silently resulted of different binaries depending on the presence or not of `wasm-opt`...). I guess maybe one can hack the test suite in some way for this specific case, or maybe a suitable solution could be found to integrate `wasm-opt` into the LLVM distributions.
@alexcrichton would it be relevant to open an issue in the binaryen repo for the support of Wasm components?
https://github.com/llvm/llvm-project/pull/98373
More information about the cfe-commits
mailing list