Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(runtime-c-api) Generate the C header file in
OUT_DIR
.
This patch changes the directory where the C header files are generated, from `CARGO_MANIFEST_DIR` to `OUT_DIR`. The goal is: When `wasm-runtime-c-api` is used as a dependency of another Rust project, then the C header files are accessible in the `target/` directory (i.e. the `OUT_DIR`). Also, since `rustc` has a `--out-dir` directory, it increases the flexibility of this approach: The user can generate the C header files where she wants.
- Loading branch information