mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
8ed340b6f1
When requiring `wasmer-runtime-c-api`, I get the following conflicts: ``` error: failed to select a version for `serde_derive`. ... required by package `cbindgen v0.7.1` ... which is depended on by `wasmer-runtime-c-api v0.2.1` ... which is depended on by `foo v0.1.0 (/private/tmp/foo)` versions that meet the requirements `= 1.0.58` are: 1.0.58 all possible versions conflict with previously selected packages. previously selected package `serde_derive v1.0.89` ... which is depended on by `wasmer-runtime-core v0.2.1` ... which is depended on by `wasmer-runtime-c-api v0.2.1` ... which is depended on by `foo v0.1.0 (/private/tmp/foo)` failed to select a version for `serde_derive` which could resolve this conflict ``` This issue resolves by updating `cbindgen` to 0.8. |
||
---|---|---|
.. | ||
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