Commit Graph

16 Commits

Author SHA1 Message Date
a2854ebfea fix(c-api) Adjust cbindgen metadata for header files. 2020-10-01 21:20:13 +02:00
8969756416 chore(c-api) Regenerate header files. 2020-09-29 16:08:54 +02:00
4165e389dc feat(c-api) Use cbindgen@master.
Our PR to support `ManuallyDrop`, `MaybeUninit` and `Box` has been
merged, https://github.com/eqrion/cbindgen/pull/578.
2020-09-29 14:16:09 +02:00
f61a11526c chore(c-api) Use original cbindgen instead of our fork. 2020-09-28 15:33:42 +02:00
04ef295a1d chore(c-api) Regenerate wasmer_wasm.h. 2020-09-28 14:52:55 +02:00
174b03f4e9 feat(c-api) Use our fork of cbindgen.
Our fork contains incoming PR. It helps for example to skip struct
fields.
2020-09-24 16:15:04 +02:00
3514988462 feat(c-api) Generate wasmer_wasm.h automatically. First draft. 2020-09-22 16:54:22 +02:00
8a9ac6ce59 Add helper function to get the start function 2020-08-12 18:03:57 -07:00
cba35df3f1 Use wasi_env_set_instance instead of wasi_env_set_memory 2020-08-12 17:32:28 -07:00
892fb4efcf Make caller responsible for allocation array for getting WASI imports 2020-08-12 17:08:58 -07:00
2e36c8e63b Clean up and simplify API: explicit version no longer required 2020-08-12 13:09:58 -07:00
5915cd9d3f Use circular buffer for stdout capture to reduce memory usage 2020-08-12 09:40:44 -07:00
747cdd424a Try replacing wasi_state_builder_t with wasi_config_t
Experimenting to simplify our API.
2020-08-12 09:23:56 -07:00
f4a2b46ace More small changes from feedback 2020-08-11 16:49:51 -07:00
c52678aba4 Clean up from feedback 2020-08-11 16:31:02 -07:00
3919e435c4 Clean up WASI 'Wasm C API' API 2020-08-11 13:08:33 -07:00