wasmer/lib/runtime-c-api
Ivan Enderlin 76caebebb4 fix(runtime-c-api) Provide a link target.
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.
2019-03-06 11:02:14 +01:00
..
2019-03-05 10:07:08 +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