02c0df5101
Update to cbindgen 0.15.0
...
Manually specify that items should be sorted by name in the header
file. We do this because cbindgen 0.15.0 removed sorting by default.
2020-10-08 14:42:00 -07:00
65265dbd73
Add first draft of wasmer create-exe
2020-10-08 14:13:54 -07:00
ea8bb1ee79
Merge branch 'master' into feature/engine-object-file
2020-10-06 17:50:55 -07:00
aa2e8f7b4d
Address more feedback, clean up code
2020-10-06 12:13:59 -07:00
ded3132b44
feat(c-api) Implement wat2wasm
.
2020-10-06 11:09:35 +02:00
ab153fc642
Improve error messages around memory creation
2020-10-05 15:45:52 -07:00
0f8d68652f
Finish merge with C API refactor
2020-10-05 12:30:58 -07:00
1572ae1d5c
Merge branch 'master' into feature/engine-object-file
2020-10-02 17:31:06 -07:00
3a81643ff0
chore(c-api) Update header files.
2020-10-01 21:23:06 +02:00
a2854ebfea
fix(c-api) Adjust cbindgen metadata for header files.
2020-10-01 21:20:13 +02:00
5ac0f89d92
Add small clean up
2020-09-30 17:10:05 -07:00
fec7644bb8
Port integration test to Windows
...
Add conditional logic for Windows style object files
Explicitly require c11 for wasm.h
Use `clang++` on Windows for `static_assert`
Improve generated C + add hack to make function pointers work better
Add logic to handle Window's static library file extension
Improve linking logic to work on Windows
Add support for C++ compilers for object-file-engine generated C
Add C++ support to wasmer_wasm.h
Add C++ support to test C file too
Add linking flags for Windows, make assert line-ending neutral
Adjust asserted output to handle differences on Windows
2020-09-30 14:46:34 -07: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
bdbbe7ed2f
Add config support to wasm-c-api
2020-09-28 15:06:00 -07: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