4975 Commits

Author SHA1 Message Date
dependabot-preview[bot]
899305c582 Bump hex from 0.4.0 to 0.4.1
Bumps [hex](https://github.com/KokaKiwi/rust-hex) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases)
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4...v0.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 08:00:51 +00:00
Syrus Akbary
5b8c44c529 Try to fix docs generation 2020-02-07 22:30:51 -08:00
Syrus Akbary
e521339694
Merge pull request #1194 from wasmerio/nlewycky-patch-1
Fix typo in comment.
2020-02-07 12:16:54 -08:00
nlewycky
073d342f01
Fix typo in comment. 2020-02-07 12:16:16 -08:00
Syrus Akbary
e387569818
Merge pull request #1193 from wasmerio/feature/document-private-items
Include implementation details when generating our documentation.
2020-02-07 11:49:46 -08:00
Nick Lewycky
0a89c8188c Include implementation details when generating our documentation.
In passing, replace deprecated flag --all with equivalent flag --workspace.
2020-02-07 11:48:45 -08:00
losfair
e0aafbe9dd Remove WasmTrapInfo and passExceptionCode in the generic Box<Any> container. 2020-02-06 23:49:50 +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
bors[bot]
abbdda7ebe
Merge #1189
1189: Fix a couple typos in comments. r=MarkMcCaskey a=nlewycky



Co-authored-by: Nick Lewycky <nick@wasmer.io>
2020-02-04 18:03:12 +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
bors[bot]
cc034cd5e1
Merge #1186
1186: Improve some docs and misc code segments r=MarkMcCaskey a=MarkMcCaskey

A bit of a follow up to #1184 plus some clippy fixes and doc improvements

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-01-31 23:51:29 +00:00
Mark McCaskey
929825cba1 Improve some docs and misc code segments 2020-01-31 15:42:18 -08:00
bors[bot]
a54f4e730e
Merge #1185
1185: Bump supported Rust version to 1.40.0 r=MarkMcCaskey a=MarkMcCaskey

Rust 1.41.0 released yesterday

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-01-31 23:09:57 +00:00
Mark McCaskey
bff7027e81 Bump supported Rust version to 1.40.0 2020-01-31 14:56:20 -08:00
bors[bot]
a01fd4cafb
Merge #1184
1184: Add minor documentation updates r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-01-31 22:50:37 +00: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
Syrus Akbary
a6c55ea548
Merge pull request #1181 from Hywan/doc-runtime-c-api-value
doc(runtime-c-api) Improve documentation of the `value` module
2020-01-29 08:55:46 -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
Syrus Akbary
cc3eee47ae
Merge pull request #1137 from wasmerio/dependabot/cargo/wasmparser-0.45.2
Bump wasmparser from 0.45.0 to 0.45.2
2020-01-28 15:47:52 -08:00
bors[bot]
c5d033e760
Merge #1120
1120: Port to FreeBSD 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

I disovered this great patch today: https://github.com/MikaelUrankar/webasm/blob/master/www/wasmer/files/patch-freebsd

And then realized that @MikaelUrankar forked wasmer to add support for FreeBSD.

I'm creating this PR to follow up on that fork and merge the changes upstream.

@MikaelUrankar let us know if everything is good to go with this PR!

<!-- 
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: MikaelUrankar <mikael.urankar@gmail.com>
2020-01-28 22:08:39 +00:00
MikaelUrankar
fcbdada259 Port to FreeBSD 2020-01-28 21:49:55 +01:00
dependabot-preview[bot]
98ce368278
Bump wasmparser from 0.45.0 to 0.45.2
Bumps [wasmparser](https://github.com/yurydelendik/wasmparser.rs) from 0.45.0 to 0.45.2.
- [Release notes](https://github.com/yurydelendik/wasmparser.rs/releases)
- [Commits](https://github.com/yurydelendik/wasmparser.rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 18:58:41 +00:00
bors[bot]
589a99452c
Merge #1180
1180: Fix compilation for target `x86_64-unknown-linux-musl`. r=losfair a=losfair

Fixes compilation failure when built for `x86_64-unknown-linux-musl`.

- Allows disabling the `wabt` feature to avoid depending on a C++ compiler.
- Disables XMM register dump on fault as a workaround for missing musl libc types (https://github.com/rust-lang/libc/pull/1646).

Fixes https://github.com/wasmerio/wasmer/issues/1178 and https://github.com/wasmerio/wasmer/issues/1173 .

Co-authored-by: losfair <zhy20000919@hotmail.com>
2020-01-28 18:40:10 +00:00
losfair
6fa199614b Install musl-tools 2020-01-29 01:18:25 +08:00
losfair
5119fb3d68 Add musl build target for CI. 2020-01-29 01:07:55 +08:00
losfair
bf5234b06f Fix kernel-loader with musl. 2020-01-29 01:07:23 +08:00
losfair
f5d2294126 Update changelog 2020-01-29 00:50:18 +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
losfair
5476994c90 Remove CLI dependency on wabt. 2020-01-29 00:38:25 +08:00
losfair
8411e56f4f Make wabt optional. 2020-01-29 00:37:43 +08:00
Syrus
05227266df Fix tag overwritting 2020-01-27 17:13:58 -08:00
Syrus Akbary
1d4d2a0200
Merge pull request #1176 from wasmerio/dependabot/cargo/smallvec-1.1.0
Bump smallvec from 0.6.13 to 1.1.0
2020-01-27 11:47:08 -08:00
Syrus Akbary
e2ca217cb7
Merge pull request #1177 from wasmerio/dependabot/cargo/blake3-0.1.3
Bump blake3 from 0.1.0 to 0.1.3
2020-01-27 11:46:57 -08:00
dependabot-preview[bot]
ff2533a3e2
Bump blake3 from 0.1.0 to 0.1.3
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3) from 0.1.0 to 0.1.3.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases)
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/0.1.0...0.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 07:48:05 +00:00
dependabot-preview[bot]
c00cd2ce3c
Bump smallvec from 0.6.13 to 1.1.0
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.13 to 1.1.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v0.6.13...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 07:47:27 +00:00
bors[bot]
9ce1fb26aa
Merge #1174
1174: Clean up misc. bits of runtime-core r=MarkMcCaskey a=MarkMcCaskey

Also includes the lock file which has been showing up in my diffs for a while, so I guess I should commit it 


Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-01-24 23:32:35 +00:00
Mark McCaskey
0a02f3bb97 Clean up misc. bits of runtime-core 2020-01-24 15:31:52 -08:00