4481 Commits

Author SHA1 Message Date
Syrus Akbary
efa37b6ad4
Merge pull request #1064 from wasmerio/dependabot/cargo/serde-1.0.104
Bump serde from 1.0.103 to 1.0.104
2019-12-16 16:29:33 -08:00
Syrus Akbary
f9d95131dd
Merge pull request #1066 from wasmerio/dependabot/cargo/bincode-1.2.1
Bump bincode from 1.2.0 to 1.2.1
2019-12-16 16:29:17 -08:00
bors[bot]
a8497d07fb
Merge #1072
1072: Add minor changes to runtime/vm doc comments + make fns const fns r=syrusakbary a=MarkMcCaskey

Slightly improves readability of docs and makes more functions `const fn`

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-16 23:40:38 +00:00
Mark McCaskey
9ccb59eae5 Add minor changes to runtime/vm doc comments + make fns const fns 2019-12-16 18:27:37 -05:00
Mark McCaskey
15c52fd743 Update doc comment on borrow splitting ctx fn 2019-12-16 18:16:20 -05:00
Mark McCaskey
cd0b4a3d7f Add capi emscripten test to test-capi recipe 2019-12-16 18:07:07 -05:00
Mark McCaskey
a2b47bd591 Update changelog, clean up, fix test 2019-12-16 18:06:37 -05:00
dependabot-preview[bot]
1e1ec83738
Bump log from 0.4.8 to 0.4.10
Bumps [log](https://github.com/rust-lang/log) from 0.4.8 to 0.4.10.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 22:37:30 +00:00
dependabot-preview[bot]
1ebfecad26
Bump serde from 1.0.103 to 1.0.104
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.103...v1.0.104)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 22:37:28 +00:00
dependabot-preview[bot]
de74719b92
Bump bincode from 1.2.0 to 1.2.1
Bumps [bincode](https://github.com/servo/bincode) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/servo/bincode/releases)
- [Commits](https://github.com/servo/bincode/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 22:37:26 +00:00
bors[bot]
bedf707419
Merge #1070
1070: Update Inkwell r=MarkMcCaskey a=MarkMcCaskey

Updates inkwell which removes the networking dep from building Inkwell -- this should speed up our CI

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-16 22:00:05 +00:00
Mark McCaskey
05012f9514 Update Inkwell 2019-12-16 16:51:33 -05:00
Mark McCaskey
06d4897d11
Merge branch 'master' into feature/emscripten-in-c-api 2019-12-16 13:50:12 -08:00
Mark McCaskey
bb344c1ab1 Add fn for splitting borrow of memory & data in Ctx, use in WASI 2019-12-16 16:48:52 -05:00
bors[bot]
76800c7367
Merge #1032
1032: Fix abort signature in emscripten ABI r=MarkMcCaskey a=MarkMcCaskey

Needs tests; this is preventing python on wapm from working

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-16 20:48:03 +00:00
Mark McCaskey
e86b3941d0 Update Emscripten API layout; expose inner parts to to C API; add test 2019-12-16 15:45:28 -05:00
losfair
f9928752ba Update changelog. 2019-12-17 00:42:26 +08:00
losfair
912c2f8996 Run cargo fmt. 2019-12-17 00:36:00 +08:00
losfair
5521352f52 singlepass: Use a valid instruction as the inline breakpoint marker. (AArch64) 2019-12-17 00:33:18 +08:00
losfair
4d7eec10e9 fault, state: Cleanup and keep consistent with backend. 2019-12-17 00:32:26 +08:00
losfair
57615e5673 runtime-core/backend: Add comments and cleanup. 2019-12-17 00:31:47 +08:00
bors[bot]
598fbfa44a
Merge #1063
1063: Add more doc comments to our WASI implementation r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-14 01:13:40 +00:00
Mark McCaskey
24e0e34fb2 Add more doc comments to our WASI implementation 2019-12-13 17:11:13 -08:00
bors[bot]
e749029a3b
Merge #1044
1044: Initial commit for support of AArch64 in the llvm backend. r=syrusakbary a=nlewycky

# Description
Enables AArch64 in the llvm backend, and inkwell when the target_arch is aarch64. Adds relevant failing spectests to the excludes.txt.

# Review

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


Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-12-13 22:08:27 +00:00
Syrus Akbary
243e0b5e2c
Trying to fix Windows LLVM - 3rd intent 2019-12-13 14:07:59 -08:00
Mark McCaskey
f1c95a81ab Add foundational emscripten functions and types to C API 2019-12-13 14:02:48 -08:00
Syrus Akbary
963494080f
Trying to fix Windows LLVM Installation 2019-12-13 13:57:24 -08:00
Syrus Akbary
952309a36b
Merge branch 'master' into feature/llvm-on-arm 2019-12-13 13:03:51 -08:00
Syrus Akbary
b84ff0e293
Trying to fix Win64 LLVM release for ARM 2019-12-13 13:03:27 -08:00
bors[bot]
17aecf9541
Merge #1060
1060: Test the capi with multiple backends r=syrusakbary 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

This PR updates the codebase to test the capi with multiple backends.
<!-- 
Provide details regarding the change including motivation,
links to related issues, and the context of the PR.
-->

# Review

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


Co-authored-by: Syrus <me@syrusakbary.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-12-13 19:54:21 +00:00
Syrus
6946d6883a Install LLVM for the CAPI 2019-12-13 11:53:31 -08:00
Syrus Akbary
4aafa45a7a
Merge branch 'master' into capi-multiple-backends 2019-12-12 17:06:10 -08:00
Syrus
8a2a429a2d Added changes to the changelog 2019-12-12 17:05:36 -08:00
Syrus
39f5a79254 Test the capi with multiple backends 2019-12-12 16:38:58 -08:00
bors[bot]
22dcbcc074
Merge #1059
1059: Add doc comments for WASI FD associated constants r=MarkMcCaskey a=MarkMcCaskey

I want to try out something I'm going to call "daily docs" where I write documentation for one thing every day

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-12 23:57:35 +00:00
Mark McCaskey
c11d19e759 Add doc comments for WASI FD associated constants 2019-12-12 15:48:58 -08:00
bors[bot]
ba29483260
Merge #1058
1058: Fix issue 1057 + improve llvm/state.rs code r=syrusakbary a=pventuzelo

# Description

This pull request is doing:
- Fix issue https://github.com/wasmerio/wasmer/issues/1057 (subtraction overflow panic in State::peek1_extra) by using `checked_sub`
- replace other part of `state.rs` subject to potential substration overflow with `checked_sub`
- add more detail on the Errors messages in `state.rs`
- rename some variable for better understanding of the code.

# Review

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


Co-authored-by: Patrick Ventuzelo <ventuzelo.patrick@gmail.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-12-12 20:28:01 +00:00
Syrus Akbary
b84aff77f7
Merge branch 'master' into ventuzelo/fix-1057-substracte-overflow-peek1 2019-12-12 12:27:35 -08:00
Mark McCaskey
efaae9f12f Update folder path 2019-12-12 12:00:30 -08:00
Mark McCaskey
dd6c458720 Add KeyRelease, prevent key repeat, update minifb 2019-12-12 11:51:01 -08:00
bors[bot]
18318c2262
Merge #858
858: [fix 857] panic when target module don't have exported _start function r=syrusakbary a=pventuzelo

# Description

Fix #857 
* replace `expect` by `map_err` for `loader`
* replace `expect` by `map_err` in other part of `wasmer.rs`

# Review

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


Co-authored-by: Patrick Ventuzelo <ventuzelo.patrick@gmail.com>
Co-authored-by: Patrick Ventuzelo <9038181+pventuzelo@users.noreply.github.com>
2019-12-11 16:49:44 +00:00
Patrick Ventuzelo
aa13337dae add changelog entry 2019-12-11 15:34:01 +01:00
Patrick Ventuzelo
6189c9ae54 rename some variable, add more precise error message, use checked_sub everywhere needed in state.rs 2019-12-11 15:25:21 +01:00
Patrick Ventuzelo
3836b544b6
update changelog 2019-12-11 10:46:42 +01:00
Patrick Ventuzelo
c578150e1c
Merge branch 'master' into ventuzelo/fix-857-panic-loader-parameter 2019-12-11 10:45:55 +01:00
Syrus Akbary
ca03402207
Merge pull request #1047 from wasmerio/dependabot/cargo/serde_bytes-0.11.3
Bump serde_bytes from 0.11.2 to 0.11.3
2019-12-11 00:24:06 -08:00
Syrus Akbary
36b2dc417b
Merge pull request #1048 from wasmerio/dependabot/cargo/cc-1.0.48
Bump cc from 1.0.47 to 1.0.48
2019-12-11 00:23:54 -08:00
dependabot-preview[bot]
52cb3a18a4
Bump cc from 1.0.47 to 1.0.48
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.47...1.0.48)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-11 02:04:10 +00:00
dependabot-preview[bot]
499a408eff
Bump serde_bytes from 0.11.2 to 0.11.3
Bumps [serde_bytes](https://github.com/serde-rs/bytes) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/serde-rs/bytes/releases)
- [Commits](https://github.com/serde-rs/bytes/compare/0.11.2...0.11.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-11 02:04:08 +00:00
bors[bot]
b9f8aace79
Merge #1056
1056: Integrate Ivan's arg parsing code into --invoke r=syrusakbary a=MarkMcCaskey

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>

Because #281 is on a branch on a fork, I made a new branch.

Does arg parsing when using `--invoke`


Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-12-11 02:02:39 +00:00