716 Commits

Author SHA1 Message Date
Ivan Enderlin
ba16d12b1a Merge branch 'master' into feat-interface-types 2020-02-10 13:25:57 +01:00
nlewycky
073d342f01
Fix typo in comment. 2020-02-07 12:16:16 -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
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
Mark McCaskey
929825cba1 Improve some docs and misc code segments 2020-01-31 15:42:18 -08:00
losfair
455783aa21 Make full preemption an optional feature. 2020-02-01 01:12:06 +08:00
MikaelUrankar
fcbdada259 Port to FreeBSD 2020-01-28 21:49:55 +01: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
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
74eb11352a Merge remote-tracking branch 'origin/master' into feature/unified-exceptions 2020-01-21 01:10:40 +08: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
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
bors[bot]
12f1f2d8a8
Merge #1143
1143: Set backend_id to static str r=MarkMcCaskey a=syrusakbary

<!-- 
Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test:
https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests

-->

# Description

As per feedback in #1099, set backend_id to static str.

<!-- 
Provide details regarding the change including motivation,
links to related issues, and the context of the PR.
-->

# Review

- [ ] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Syrus <me@syrusakbary.com>
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-01-15 18:32:01 +00:00
Mark McCaskey
75d7f106f2 Update remaining locations to use a &'static str for backend 2020-01-15 10:28:06 -08:00
Syrus
273a6307f7 Use &’static str for backend 2020-01-15 14:04:42 +01:00
Ivan Enderlin
ce3fb49b21 Merge branch 'master' into feat-runtime-c-api-import-trap 2020-01-15 08:44:56 +01:00
Ivan Enderlin
bcbde69694 doc(runtime-core) Fix a typo. 2020-01-15 08:41:37 +01:00
Mark McCaskey
286e5db370 Remove vestigial debug features from various crates 2020-01-14 13:03:19 -08:00
Mark McCaskey
12f7416a85 Update logging to use log, add command line flag to toggle it 2020-01-14 12:41:46 -08:00
losfair
6dfd5916c2 Improve error message on exception. 2020-01-14 20:56:34 +08:00
Syrus
1cd198a5a5 Use a 32 byte array instead of 64 one 2020-01-14 10:32:32 +01:00
Syrus
a1d8b9aa5b Move backend_id to static str 2020-01-13 15:40:09 +01:00
losfair
42e5e7881f Merge remote-tracking branch 'origin/master' into feature/unified-exceptions 2020-01-13 22:36:55 +08:00
Syrus
fcb158b243 Fixed cache 2020-01-13 15:11:02 +01:00
Syrus
c45819de32 Remove unnecessary import 2020-01-13 14:59:50 +01:00
Syrus Akbary
3d00903054
Merge branch 'master' into blake3 2020-01-13 13:26:31 +01:00
Syrus
661df38cf2 Use blake3 instead of blake2_simd 2020-01-13 11:58:31 +01:00
Ivan Enderlin
c7a4825bee doc(runtime-core) Update documentation. 2020-01-10 15:14:34 +01:00
Syrus Akbary
9ca97706d7
Merge branch 'master' into backend-refactor 2020-01-10 13:41:49 +01:00
Syrus
f353ac00eb Remove unused backend flags 2020-01-10 13:40:21 +01:00
Ivan Enderlin
9b2f0fc635 chore(runtime-core) Avoid code duplication. 2020-01-10 10:15:26 +01:00
losfair
9e2080def1 Run cargo fmt. 2020-01-10 02:54:50 +08:00
losfair
4b5b8976e9 Serialize/deserialize exception codes. 2020-01-10 02:53:08 +08:00
Ivan Enderlin
c81e49a091 feat(runtime-core) Replace missing host function by always_trap. 2020-01-09 15:12:09 +01:00