mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-19 09:30:52 +00:00
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.
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