Commit Graph

11 Commits

Author SHA1 Message Date
f5a7ac960f feat(c-api) Remove the deprecated API.
Until this patch, our C API comes in 2 flavors: `deprecated` and
`wasm_c_api`. With the coming 2.x version of Wasmer, we would like to
remove the `deprecated` API, and keep the `wasm_c_api` only.

This patch removes the `deprecated` API from the `wasmer-c-api`
crate. It also cleans up the `Makefile` and the documentation
system. Previously, the documentation for the `deprecated` API was
relying on Doxygen, which was one new dependency the user had to
install. For the `wasm_c_api`, it relies on `rustdoc`, which is way
better because all examples are run and tested as part of our test
suite.

This clean up also removes the need to deal with `system-libffi` both
in the crate itself and in the `Makefile`, which was an edge case for
macOS on aarch64, and a needle in the foot for some of our users.

Finally, the `build.rs` is now simplified because we no longer need to
exclude symbols from one header to another. It also means that we only
provide the `wasmer_wasm.h` header file now; the `wasmer.h` and
`wasmer.hh` headers are removed.
2021-05-31 17:59:19 +02:00
e8344c56ae Fixed integration examples link 2021-01-20 14:48:13 -08:00
f63dc943cc doc(c-api) Update and fix Doxygen. 2020-11-10 10:31:54 +01:00
a34600a3ad doc(c-api) Build the new Wasm C API. 2020-11-09 17:12:42 +01:00
40db7d6efc doc(c-api) Reorganize doxygen. 2020-09-22 09:44:11 +02:00
a6e06278d8 doc(c-api) Reorganize the documentation. 2020-09-22 09:35:57 +02:00
7c1d7dcb06 Improved based on feedback 2020-06-05 11:36:45 -07:00
d3b69b6aea Improved docs 2020-06-04 19:54:02 -07:00
43534aebc8 Improved docs a bit more 2020-06-04 19:48:58 -07:00
fc27d75909 Improved CI by building the package 2020-06-04 19:36:23 -07:00
b834714364 Rename runtime-c-api -> c-api 2020-05-08 12:59:44 -07:00