2611 Commits

Author SHA1 Message Date
losfair
8845e1104b Fix musl compatibility issues. 2020-01-29 00:38:39 +08:00
Mark McCaskey
0a02f3bb97 Clean up misc. bits of runtime-core 2020-01-24 15:31:52 -08:00
Mark McCaskey
2c45106ae0 Share some more code in runtime-core::sys 2020-01-22 13:34:50 -08:00
Mark McCaskey
4862828165 Clean up and add another example 2020-01-21 17:06:50 -08:00
Mark McCaskey
19ea53b86e
Update lib/wasi/src/state/builder.rs
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-01-21 16:57:33 -08:00
Mark McCaskey
7ea6943af1 Update example in doc to use new preopened dir builder 2020-01-21 16:33:49 -08:00
Mark McCaskey
d1cadf98e1 Add new features to WasiState builder API
Allows for ergonomic swapping out of stdin, stdout, stderr as well as
a new PreopenDir sub-builder which enables for user control over the
permissions that the directory is preopened with.

This PR includes breaking changes to the pubilc API.
2020-01-21 16:23:30 -08:00
Mark McCaskey
f1db4aec1d
Merge branch 'master' into fix/imported-functions-must-be-send 2020-01-21 09:47:46 -08:00
Syrus
0d2d4369aa Fixed lint issue 2020-01-20 14:15:02 -08:00
Syrus Akbary
5293bad793
Merge branch 'master' into blake3 2020-01-20 14:13:27 -08:00
losfair
526611676b Merge remote-tracking branch 'origin/master' into feature/unified-exceptions 2020-01-21 02:20:37 +08:00
losfair
74eb11352a Merge remote-tracking branch 'origin/master' into feature/unified-exceptions 2020-01-21 01:10:40 +08:00
losfair
16dee04d22 Add aarch64-specific failure excludes. 2020-01-21 01:10:14 +08:00
Ivan Enderlin
13f87b1618 chore(runtime-c-api) Update C/C++ headers. 2020-01-20 15:59:30 +01:00
Ivan Enderlin
8283b6d0da doc(runtime-c-api) Improve documentation of wasmer_instance_destroy. 2020-01-20 15:58:27 +01:00
Ivan Enderlin
f4c8997c6d doc(runtime-c-api) Fix a link. 2020-01-20 15:58:11 +01:00
Ivan Enderlin
11e915f00f test(runtime-c-api) Simplify code. 2020-01-20 15:52:59 +01:00
Ivan Enderlin
df2b93ea81 fix(runtime-c-api) wasmer_instance_context_data_get returns void if instance is null. 2020-01-20 15:52:14 +01:00
Ivan Enderlin
c89f53b6fa doc(runtime-c-api) Improve documentation of wasmer_instance_context_memory. 2020-01-20 15:51:48 +01:00
Ivan Enderlin
32ee93ef73 fix(runtime-c-api) wasmer_instance_context_data_set does nothing if instance is null. 2020-01-20 15:43:14 +01:00
Ivan Enderlin
05dae9ef9d doc(runtime-c-api) Improve documentation of wasmer_instance_context_data_set. 2020-01-20 15:42:50 +01:00
Ivan Enderlin
edf45049e1 doc(runtime-c-api) Improve documentation of wasmer_instance_context_t. 2020-01-20 15:42:27 +01:00
Ivan Enderlin
cb632f3452 feat(runtime-c-api) Do nothing if instance is null in wasmer_instance_exports. 2020-01-20 15:30:00 +01:00
Ivan Enderlin
19627bdb8b doc(runtime-c-api) Improve documentation of wasmer_instance_exports. 2020-01-20 15:29:35 +01:00
Ivan Enderlin
3efd7d1232 doc(runtime-c-api) Improve documentation of wasmer_instance_call. 2020-01-20 15:29:04 +01:00
Ivan Enderlin
076931de91 doc(runtime-c-api) Improve documentation of wasmer_exports_destroy. 2020-01-20 15:28:30 +01:00
Ivan Enderlin
3022a16ec3 doc(runtime-c-api) Improve documentation of wasmer_import_export_value. 2020-01-20 15:28:13 +01:00
Ivan Enderlin
97c25f7862 doc(runtime-c-api) Improve documentation of wasmer_exports_t. 2020-01-20 15:27:50 +01:00
Ivan Enderlin
ee424bbadf doc(runtime-c-api) Improve documentation of wasmer_result_t. 2020-01-20 15:26:52 +01:00
Ivan Enderlin
585f5615cf fix(runtime-c-api) Fix imports, and check for null pointer. 2020-01-20 14:36:45 +01:00
Ivan Enderlin
77ba77446d doc(runtime-c-api) Improve documentation of wasmer_instance_context_get. 2020-01-20 14:36:11 +01:00
Ivan Enderlin
cd3a1064f9 chore(runtime-c-api) Move wasmer_module_import_instantiate to the module module. 2020-01-20 14:25:13 +01:00
Ivan Enderlin
384c501c93 doc(runtime-c-api) Improve error functions' documentations. 2020-01-20 14:23:52 +01:00
Mark McCaskey
5931944a21 Add clippy error checking in lint step 2020-01-17 15:47:45 -08:00
Mark McCaskey
8c760da83a Require that imported functions must be Send 2020-01-17 15:14:11 -08:00
Mark McCaskey
c187d1656e Add misc doc improvements to runtime-core 2020-01-17 14:31:10 -08:00
Mark McCaskey
1b682bf353 Delete runtime-core::mono_vec 2020-01-17 14:31:00 -08:00
Mark McCaskey
0cbcc0aff6 Document runtime-core::vmcalls functions 2020-01-16 17:02:40 -08:00
Mark McCaskey
430524ce51 Prepare for 0.13.1 release 2020-01-16 14:07:18 -08:00
Ivan Enderlin
96f96f5d20 chore(runtime-c-api) Update C/C++ headers. 2020-01-16 12:31:43 +01:00
Ivan Enderlin
d42bbb1f06 doc(runtime-c-api) Improve fragment readability in Doxygen. 2020-01-16 12:31:13 +01:00
Ivan Enderlin
44a80dc4a0 doc(runtime-c-api) Improve documentation of wasmer_instantiate. 2020-01-16 12:30:26 +01:00
Ivan Enderlin
13800872ff doc(runtime-c-api) Improve documentation of wasmer_instance_context_t. 2020-01-16 12:29:33 +01:00
Ivan Enderlin
88ca11628a doc(runtime-c-api) Improve documentation of wasmer_instance_t. 2020-01-16 12:29:09 +01:00
Ivan Enderlin
798557367a doc(runtime-c-api) Improve documentation of wasmer_validate. 2020-01-16 12:28:42 +01:00
Mark McCaskey
bb794598e9 Update clif-backend to use new published crates 2020-01-15 12:11:02 -08:00
Mark McCaskey
3c996bc821 Prepare for 0.13.0 release 2020-01-15 11:09:47 -08:00
losfair
d3ebb5fbc8 Merge remote-tracking branch 'origin/master' into feature/unified-exceptions 2020-01-16 03:01:21 +08:00
losfair
1b3e679bf0 Merge remote-tracking branch 'origin/master' into feature/unified-exceptions 2020-01-16 02:59:56 +08:00
losfair
35870b33e5 Update spectests to test singlepass traps. 2020-01-16 02:59:27 +08:00