wasmer/lib/runtime-c-api
Ivan Enderlin 7c56d893c2 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.
2019-03-06 10:42:06 +01:00
..
2019-03-05 10:07:08 +01:00
2019-03-05 14:28:35 +01:00

Wasmer Runtime C API

Generating header files

Run make capi from wasmer project root directory

Running tests

The tests can be run via cargo test, E.g. cargo test -p wasmer-runtime-c-api -- --nocapture

Running manually cmake . && make && make test from the lib/runtime-c-api/tests directory