wasmer/lib/runtime-c-api
Ivan Enderlin 8ed340b6f1 fix(runtime-c-api) Update cbindgen.
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.
2019-03-05 14:28:35 +01:00
..
src Fix C API table/global/memory imports 2019-03-02 22:28:00 -06:00
tests Fix C API table/global/memory imports 2019-03-02 22:28:00 -06:00
build.rs Add include guard 2019-02-09 18:07:05 -06:00
Cargo.toml fix(runtime-c-api) Update cbindgen. 2019-03-05 14:28:35 +01:00
README.md Run cmake tests as part of a rust test 2019-02-02 20:16:53 -06:00
wasmer.h Merge branch 'master' into feature/add-c-api-module-import-descriptors 2019-03-01 12:50:35 -06:00
wasmer.hh Merge branch 'master' into feature/add-c-api-module-import-descriptors 2019-03-01 12:50:35 -06: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