losfair
5ca6c22cbf
Merge remote-tracking branch 'origin/master' into fix/singlepass-indirect-call
2020-02-12 02:28:25 +08:00
Syrus Akbary
97328b3af7
Fixed typo
2020-02-10 13:24:11 -08:00
bors[bot]
9d80584c97
Merge #1202
...
1202: doc(runtime-c-api) Improve documentation of the `memory` module r=syrusakbary a=Hywan
Address https://github.com/wasmerio/wasmer/issues/1203 .
As part of the daily doc routine, this patch improves the documentation of `memory` module.
This patch also handles more null pointers.
Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
2020-02-10 19:55:02 +00:00
Ivan Enderlin
285c564de1
chore(runtime-c-api) Simplify code.
2020-02-10 11:47:04 +01:00
Ivan Enderlin
c54c8297f5
chore(runtime-c-api) Update C/C++ headers.
2020-02-10 11:37:45 +01:00
Ivan Enderlin
151ca3792a
test(runtime-c-api) Simplify code.
2020-02-10 11:37:29 +01:00
Ivan Enderlin
b57cd83504
doc(runtime-c-api) Improve documentation of wasmer_memory_destroy
.
2020-02-10 11:36:53 +01:00
Ivan Enderlin
38ee947354
doc(runtime-c-api) Rephrase null pointers.
2020-02-10 11:36:40 +01:00
Ivan Enderlin
ee0f05f9a1
feat(runtime-c-api) wasmer_memory_data_length
returns 0 if memory
is NULL.
2020-02-10 11:31:54 +01:00
Ivan Enderlin
b1a0e1933c
doc(runtime-c-api) Improve documentation of wasmer_memory_data_length
.
2020-02-10 11:31:24 +01:00
Ivan Enderlin
da439fc05f
doc(runtime-c-api) Improve documentation of wasmer_memory_data
.
2020-02-10 11:31:03 +01:00
Ivan Enderlin
7eeffb8d63
feat(runtime-c-api) wasmer_memory_data
returns NULL
if memory
is NULL.
2020-02-10 11:17:15 +01:00
Ivan Enderlin
e5fa1b3c1b
doc(runtime-c-api) Improve documentation of wasmer_memory_data
.
2020-02-10 11:16:48 +01:00
Ivan Enderlin
59d35656a9
feat(runtime-c-api) wasmer_memory_grow
returns WASMER_ERROR
if memory
is NULL.
2020-02-10 11:08:59 +01:00
Ivan Enderlin
534db599b2
feat(runtime-c-api) wasmer_memory_length
returns 0 if memory
is NULL.
2020-02-10 11:04:41 +01:00
Ivan Enderlin
78056df6cc
doc(runtime-c-api) Improve documentation of wasmer_memory_length
.
2020-02-10 11:04:09 +01:00
Ivan Enderlin
ed77c9c64f
doc(runtime-c-api) Improve documentation of wasmer_memory_grow
.
2020-02-10 11:03:48 +01:00
Ivan Enderlin
8d083da303
doc(runtime-c-api) Improve documentation of wasmer_memory_new
.
2020-02-10 11:03:22 +01:00
Ivan Enderlin
2aecb49227
doc(runtime-c-api) Improve documentation of wasmer_memory_t
.
2020-02-10 11:02:50 +01:00
Ivan Enderlin
602fd8334e
doc(runtime-c-api) Improve documentation of wasmer_limit_option_t
.
2020-02-10 11:02:28 +01:00
Ivan Enderlin
933a0de5e3
doc(runtime-c-api) Improve documentation of wasmer_limits_t
.
2020-02-10 11:02:07 +01:00
Ivan Enderlin
62a2e3ecad
doc(runtime-c-api) Fix a typo.
2020-02-10 11:01:48 +01:00
Ivan Enderlin
4d67a32a1e
fix(runtime-c-api) Remove a file that should have been ignored.
2020-02-10 09:57:54 +01:00
nlewycky
073d342f01
Fix typo in comment.
2020-02-07 12:16:16 -08:00
losfair
ee9ddb18fc
Fix singlepass miscompilation on Operator::CallIndirect
.
2020-02-06 23:10:55 +08:00
bors[bot]
2c44b700c8
Merge #1183
...
1183: Make full preemption an optional feature. r=syrusakbary a=losfair
Full preemption requires two additional memory loads on loop backedges and function calls. This PR allows disabling full preemption at code generation time, and disables it by default.
Co-authored-by: losfair <zhy20000919@hotmail.com>
Co-authored-by: Heyang Zhou <zhy20000919@hotmail.com>
2020-02-05 01:05:04 +00:00
losfair
d2fc5c8013
Cargo fmt
2020-02-05 00:45:24 +08:00
losfair
d3f2cf594a
Fix comments.
2020-02-05 00:44:59 +08:00
Heyang Zhou
b5a629b065
Use less-than to compare sizes.
...
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-02-05 00:37:40 +08:00
Heyang Zhou
fe5ed7b27a
Improve comment for memory_bound_check_mode
.
...
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-02-05 00:35:15 +08:00
Nick Lewycky
5a795d560e
Fix a couple typos in comments.
2020-02-03 12:41:57 -08:00
losfair
bb79df7e69
Merge remote-tracking branch 'origin/master' into feature/optional-full-preemption
2020-02-04 01:58:53 +08:00
losfair
60c7d1e0fc
Fix register zeroing in emit_compare_and_swap.
2020-02-04 01:58:21 +08:00
Mark McCaskey
929825cba1
Improve some docs and misc code segments
2020-01-31 15:42:18 -08:00
Mark McCaskey
870c057826
Add minor documentation updates
2020-01-31 13:10:02 -08:00
losfair
455783aa21
Make full preemption an optional feature.
2020-02-01 01:12:06 +08:00
Ivan Enderlin
743b192512
chore(runtime-c-api) Update C/C++ headers.
2020-01-29 14:50:18 +01:00
Ivan Enderlin
5fb7f4ea3b
doc(runtime-c-api) Generate documentation for wasmer.h
only.
2020-01-29 14:49:45 +01:00
Ivan Enderlin
a2ddbab03d
doc(runtime-c-api) Improve documentation of wasmer_value_t
.
2020-01-29 14:49:20 +01:00
Ivan Enderlin
9c4ce52d45
doc(runtime-c-api) Improve documentation of wasmer_value
.
2020-01-29 14:48:57 +01:00
Ivan Enderlin
5d7020a296
doc(runtime-c-api) Improve documentation of wasmer_value_tag
.
2020-01-29 14:47:56 +01:00
MikaelUrankar
fcbdada259
Port to FreeBSD
2020-01-28 21:49:55 +01:00
losfair
bf5234b06f
Fix kernel-loader with musl.
2020-01-29 01:07:23 +08:00
losfair
fb15aa003e
Cargo fmt
2020-01-29 00:43:24 +08:00
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