4634 Commits

Author SHA1 Message Date
Syrus
0daaa75a70 Revert incorrect toolchain changes from ”Fix azure pipelines release"
This reverts partially the commit c88196355dacc4009b2292d8d969d6d44dd8dd9a.
2019-12-19 11:57:20 -08:00
Syrus Akbary
c88196355d
Fix azure pipelines release 2019-12-19 11:54:42 -08:00
dependabot-preview[bot]
61a30804b3
Bump smallvec from 0.6.13 to 1.0.0
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.13 to 1.0.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v0.6.13...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 19:54:26 +00:00
bors[bot]
c96559305d
Merge #1087
1087: Update stable Rust to 1.39.0; pin nightly to 2019-12-19 r=MarkMcCaskey a=MarkMcCaskey

Both of these should speed up compile times:

The new stable has better parallelization and the new nightly has [new parallelization features](https://internals.rust-lang.org/t/help-test-parallel-rustc/11503)

# Review

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


Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-19 19:21:37 +00:00
Mark McCaskey
3e3fe9ac6a Update Travis CI nightly version to 2019-12-19 2019-12-19 14:20:42 -05:00
Mark McCaskey
5888f44e95 Cargo fmt with Rust 1.39.0 2019-12-19 14:06:27 -05:00
Mark McCaskey
bb9cb4e90b Update stable Rust to 1.39.0; pin nightly to 2019-12-19 2019-12-19 14:00:26 -05:00
bors[bot]
6fb52e812e
Merge #1084
1084: Prepare for 0.12.0 release r=MarkMcCaskey a=MarkMcCaskey

# Review

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


Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-19 16:43:39 +00:00
bors[bot]
096ea7ca97
Merge #1081
1081: Remove type_to_llvm_int_only, only use type_to_llvm. r=syrusakbary a=nlewycky



Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-12-18 23:08:18 +00:00
Syrus Akbary
10dccd9556
Merge branch 'master' into feature/llvm-use-floats 2019-12-18 15:07:43 -08:00
Mark McCaskey
6a74b7e994 Prepare for 0.12.0 release 2019-12-18 17:24:29 -05:00
bors[bot]
7083ff9e85
Merge #1083
1083: Add experimental IO devices r=MarkMcCaskey a=MarkMcCaskey

Adds some private stuff for us to experiment with


Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Aaron Turner <aaron@aaronthedev.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-12-18 21:34:11 +00:00
Mark McCaskey
81ece2bf7a Enable IO devices for CI's build 2019-12-18 16:31:40 -05:00
Syrus Akbary
3deaf3e525
Merge pull request #1082 from wasmerio/feature/travis-can-retry
Add retry logic to Travis CI
2019-12-18 12:51:12 -08:00
Mark McCaskey
caa75fa157 Merge branch 'master' into wat 2019-12-18 15:42:14 -05:00
Mark McCaskey
6201671791 Add retry logic to Travis CI 2019-12-18 15:36:27 -05:00
Mark McCaskey
7d77511ad5 Additional clean up, cargo update to fix merge issue 2019-12-18 15:24:42 -05:00
Nick Lewycky
5d0429989a Remove type_to_llvm_int_only, only use type_to_llvm. 2019-12-18 11:53:48 -08:00
Mark McCaskey
4539ef44d0 Rename to experimental-io-devices and clean up for release 2019-12-18 14:10:54 -05:00
Syrus Akbary
09dbb49f84
Merge pull request #1079 from srenatus/sr/fix-markup
docs: fix markup runtime-core docs
2019-12-18 08:39:41 -08:00
Stephan Renatus
b5b8484f6a docs: fix markup runtime-core docs
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-12-18 15:06:46 +01:00
bors[bot]
6229346dd2
Merge #1078
1078: Add more parameters to Func r=Hywan a=Jasper-Bekkers

<!-- 
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
We ran into the issue that we needed to pass more then the available number of parameters to wasm, so I've extended the parameter count for `Func` to have max 26 parameters now.

# Review

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


Co-authored-by: Jasper-Bekkers <bekkers@gmail.com>
2019-12-18 12:56:20 +00:00
Jasper-Bekkers
22b3a06b40 Skip formatting test_func_arity_n! invocations with more then 15 parameters 2019-12-18 13:22:22 +01:00
Jasper-Bekkers
52440b66f3 Add pull request to CHANGELOG.md 2019-12-18 12:43:06 +01:00
Jasper-Bekkers
ee2e595e5b Add more parameters to Func 2019-12-18 12:36:19 +01:00
bors[bot]
49c512b2c5
Merge #1075
1075: Add include guards for WASI APIs in runtime-c-api r=syrusakbary a=MarkMcCaskey

Improves correctness, but the readability does suffer.

In the future we should probably have separate header files or find a way to merge the conditional includes

Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-18 03:15:33 +00:00
bors[bot]
d3d328189f
Merge #1077
1077: Improve some doc comments relating to type-safe indexing r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-18 00:51:46 +00:00
Mark McCaskey
13b097e8c3 Improve the wording of typed index doc comments. 2019-12-17 19:10:36 -05:00
bors[bot]
ca0cb6a182
Merge #1076
1076: Use function defined in wasmer-runtime-core instead of llvm-backend's own copy of it. r=nlewycky a=nlewycky



Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-12-18 00:03:54 +00:00
Mark McCaskey
d165a85743 Improve some doc comments relating to type-safe indexing 2019-12-17 18:45:07 -05:00
Nick Lewycky
6a0a4390c1 Use function defined in wasmer-runtime-core instead of our own copy of it. 2019-12-17 15:12:54 -08:00
Mark McCaskey
6618750ebd Add include guards for WASI APIs in runtime-c-api 2019-12-17 16:25:26 -05:00
bors[bot]
f9bb579c05
Merge #1062
1062: Add emscripten functions and types to the C API r=MarkMcCaskey a=MarkMcCaskey

resolves #574 

Left to do:
- [x] Add tests
- [x] Add memory set up, etc (need to break up monolithic ("run" function in wasmer_emscripten into pieces)
- [x] Add passing args, etc

# Review

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


Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+markmccaskey@users.noreply.github.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-12-17 19:20:20 +00:00
Syrus Akbary
83fded4f20
Merge branch 'master' into feature/emscripten-in-c-api 2019-12-17 10:54:21 -08:00
bors[bot]
971f4e3e88
Merge #1068
1068: Various cleanups for the singlepass backend on AArch64. r=losfair a=losfair

ref: https://github.com/wasmerio/wasmer/pull/713

Co-authored-by: losfair <zhy20000919@hotmail.com>
2019-12-17 15:28:47 +00:00
losfair
1681af7e1d Merge remote-tracking branch 'origin/master' into fix/aarch64-cleanup 2019-12-17 23:27:53 +08:00
bors[bot]
c02846a147
Merge #1069
1069: Add fn for splitting borrow of memory & data in Ctx, use in WASI r=MarkMcCaskey a=MarkMcCaskey

Fixes a soundness issue / some undefined behavior

# Review

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


Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+markmccaskey@users.noreply.github.com>
2019-12-17 00:55:56 +00:00
Mark McCaskey
3a2881e85c Add split borrow memory/data from Ctx to changelog 2019-12-16 19:55:13 -05:00
Mark McCaskey
bb90cffac9 Address feedback; improve emscripten fn names in C API 2019-12-16 19:43:57 -05:00
Mark McCaskey
2819821ab7
Fix typo in doc comment
Co-Authored-By: nlewycky <nick@wasmer.io>
2019-12-16 16:37:34 -08:00
Syrus Akbary
9dd8326c1b
Merge pull request #1065 from wasmerio/dependabot/cargo/log-0.4.10
Bump log from 0.4.8 to 0.4.10
2019-12-16 16:30:30 -08:00
Syrus Akbary
21ac9fde23
Merge branch 'master' into dependabot/cargo/log-0.4.10 2019-12-16 16:30:21 -08:00
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