Include wasm-rt* source files in binary release packages
envgap__WebAssembly__wabt-2057
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
f47432a4b68f8bf2f6ef9fc065f80932df432e1d- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
WebAssembly/wabt #2057 · read the original issue
When using `wasm2c`, the `wasm-rt-*` files are necessary to compile/link the resulting program. The WABT binary release packages come with a compiled version of wasm-rt as a static library, but this may not match the target platform for which the `wasm2c` result is used. I therefore propose to include the necessary wasm2c runtime files (`wasm-rt-impl.c`, `wasm-rt-impl.h`, and `wasm-rt.h`) in the binary package as source under a `src/wasm2c` subdir. This gives toolchains that use wasm2c the flexibility to compile the wasm2c output for any platform. Note that the Debian binary package of `wabt` already packages the wasm-rt source files in the WABT package under `/usr/src/wasm2c` (see [the filelist](https://packages.debian.org/sid/amd64/wabt/filelist)).
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]