mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
76caebebb4
When compiling `wasmer-runtime-c-api` as a dependency of another crate, `rustc` emits this warning: ``` warning: The package `wasmer_runtime_c_api` provides no linkable target. The compiler might raise an error while compiling `foo`. Consider adding 'dylib' or 'rlib' to key `crate-type` in `wasmer_runtime_c_api`'s Cargo.toml. This warning might turn into a hard error in the future. ``` To solve this issue, the `rlib` type has been added to the `crate-type` list. |
||
---|---|---|
.. | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
README.md | ||
wasmer.h | ||
wasmer.hh |
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