Commit Graph

5592 Commits

Author SHA1 Message Date
bors[bot]
d562119c64
Merge #1438
1438: Post release fixup r=MarkMcCaskey a=MarkMcCaskey

Had to do `--allow-dirty` to ship these changes in 0.17.0





Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+MarkMcCaskey@users.noreply.github.com>
2020-05-11 21:54:54 +00:00
Mark McCaskey
11afbb050c
Merge branch 'master' into fix/issues-found-while-releasing-0.17.0 2020-05-11 14:54:29 -07:00
bors[bot]
80d9935aab
Merge #1437
1437: Prepare for 0.17.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>
2020-05-11 21:34:35 +00:00
Mark McCaskey
3c15336a8e Post release fixup
These were things missing from the release that I had to add to ship 0.17.0
2020-05-11 14:09:00 -07:00
Mark McCaskey
20af25e69b Create 0.17.0 section in CHANGELOG.md 2020-05-11 13:50:01 -07:00
Mark McCaskey
6d01b7f891 Prepare for 0.17.0 release 2020-05-11 13:48:41 -07:00
bors[bot]
1e720815cd
Merge #1436
1436: fix(singlepass-backend): I64ExtendI32U: Garbage in upper 32 bits shouldn't propagate to the result. r=syrusakbary a=losfair

Fixes https://github.com/wasmerio/wasmer/issues/1429 .

Co-authored-by: losfair <zhy20000919@hotmail.com>
Co-authored-by: Heyang Zhou <zhy20000919@hotmail.com>
Co-authored-by: Syrus <me@syrusakbary.com>
2020-05-11 20:10:20 +00:00
Syrus
254f9bbddd Fixed ignores 2020-05-11 13:06:55 -07:00
Syrus
685af7b9fe Added custom tests to the infrastructure 2020-05-11 12:35:38 -07:00
Heyang Zhou
fd63ee91f0
Apply review suggestion
Co-authored-by: nlewycky <nick@wasmer.io>
2020-05-12 03:23:50 +08:00
losfair
eeb608ced7 Add int-extend-garbage test 2020-05-12 03:04:26 +08:00
losfair
6790702901 Add comment to explain the change to I64ExtendI32U. 2020-05-12 03:03:39 +08:00
losfair
51e085a7ba Garbage in upper 32 bits shouldn't propagate to I64ExtendI32U's result. 2020-05-12 02:11:43 +08:00
Syrus Akbary
77de93ec0e
Update README.md 2020-05-08 00:00:34 -07:00
bors[bot]
4a37bac7e1
Merge #1427
1427: Make func clonable r=MarkMcCaskey a=michaelvoronov

Resolves https://github.com/wasmerio/wasmer/issues/1420.

Co-authored-by: vms <michail.vms@gmail.com>
2020-05-05 21:16:02 +00:00
vms
c3e9e36782 make func clonable 2020-05-02 12:28:00 +03:00
bors[bot]
03df15a3eb
Merge #1414
1414: Update doc comment for `RuntimeError` r=Hywan a=MarkMcCaskey


# 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: Ivan Enderlin <ivan@mnt.io>
2020-04-30 07:55:12 +00:00
Ivan Enderlin
3feaa7fd3f
Merge branch 'master' into fix/doc-comment-runtimeerror 2020-04-30 09:47:56 +02:00
bors[bot]
f48a4d924c
Merge #1413
1413: some minor improvements r=MarkMcCaskey a=michaelvoronov

<!-- 
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

Some minor improvements.

# Review

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


Co-authored-by: vms <michail.vms@gmail.com>
2020-04-29 21:00:59 +00:00
Mark McCaskey
579d4564eb Update doc comment for RuntimeError 2020-04-29 13:46:57 -07:00
vms
c4fd02aec7 fix clippy warning 2020-04-29 23:46:34 +03:00
vms
abed2c238a some minor improvements 2020-04-29 23:15:38 +03:00
bors[bot]
0cba64b538
Merge #1412
1412: fix(singlepass-backend) Fix argument overwriting in a corner case when calling functions. r=nlewycky a=losfair

Fixes #1409.

Co-authored-by: losfair <zhy20000919@hotmail.com>
Co-authored-by: Heyang Zhou <zhy20000919@hotmail.com>
2020-04-29 16:34:06 +00:00
Heyang Zhou
7bfa7723a6
Fix typo in comment.
Co-Authored-By: nlewycky <nick@wasmer.io>
2020-04-30 00:26:30 +08:00
losfair
e234096e6a Add test for issue #1409. 2020-04-30 00:05:45 +08:00
losfair
b2ecf8a06c Use RCX instead of R10 as temp register in sysv call location. 2020-04-30 00:04:44 +08:00
bors[bot]
d23a3f3d1c
Merge #1401
1401: Make runtime and trap errors well defined r=syrusakbary a=MarkMcCaskey

Resolves #1328 

This PR goes through and gives explicit types for all the errors instead of using `Box<dyn Any + Send>` where possible.  This gives users better insight into what the specific errors are and should help with debugging in the case of mistakes in our code.

The remaining uses of `Box<dyn Any>` are due to the structure of our dependency graph -- this is probably solvable but it seems fine as is as all error types are now explicit and the remaining `Box<dyn Any>`s are either fully user controlled or not for end-user consumption.

# Review

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


Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-04-28 22:21:13 +00:00
bors[bot]
86a66e25d8
Merge #1410
1410: feat(runtime-core) Implement `ImportObjectIterator::size_hint`. r=MarkMcCaskey a=Hywan

Because it is helpful in some circumstances.

Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-04-28 18:39:50 +00:00
Mark McCaskey
9c5fdd6f69 Address feedback, cleanup, fix memory leak in LLVM-backend 2020-04-28 11:36:01 -07:00
Ivan Enderlin
5c2db568ed feat(runtime-core) Implement ImportObjectIterator::size_hint. 2020-04-28 16:32:20 +02:00
Mark McCaskey
50dda38dba Add changelog entry for RuntimeError update 2020-04-27 15:30:05 -07:00
Mark McCaskey
74ddc8e0c8 Add docs; fix misc bugs 2020-04-27 14:59:43 -07:00
Mark McCaskey
cffdb387f7 Fix new RuntimeError integration with the LLVM-backend 2020-04-27 12:55:58 -07:00
Syrus Akbary
a4ab71ed0b
Merge pull request #1407 from wasmerio/dependabot/cargo/time-0.1.43
chore(deps): bump time from 0.1.42 to 0.1.43
2020-04-27 12:19:33 -07:00
Syrus Akbary
94ccbd1ad0
Merge pull request #1406 from wasmerio/dependabot/cargo/smallvec-1.4.0
chore(deps): bump smallvec from 1.3.0 to 1.4.0
2020-04-27 12:19:10 -07:00
Syrus Akbary
0ba255303f
Merge pull request #1405 from wasmerio/dependabot/cargo/cc-1.0.52
chore(deps): bump cc from 1.0.50 to 1.0.52
2020-04-27 12:18:55 -07:00
Syrus Akbary
61091cc9cf
Merge pull request #1404 from wasmerio/dependabot/cargo/criterion-0.3.2
chore(deps): bump criterion from 0.3.1 to 0.3.2
2020-04-27 12:18:44 -07:00
Syrus Akbary
31121eb2a6
Merge pull request #1403 from wasmerio/dependabot/cargo/structopt-0.3.14
chore(deps): bump structopt from 0.3.13 to 0.3.14
2020-04-27 12:18:34 -07:00
dependabot-preview[bot]
d32ce63110
chore(deps): bump time from 0.1.42 to 0.1.43
Bumps [time](https://github.com/time-rs/time) from 0.1.42 to 0.1.43.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/master/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/commits/v0.1.43)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:27:34 +00:00
dependabot-preview[bot]
9f5ce400ed
chore(deps): bump smallvec from 1.3.0 to 1.4.0
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:26:48 +00:00
dependabot-preview[bot]
b788e39d7b
chore(deps): bump cc from 1.0.50 to 1.0.52
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.50 to 1.0.52.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.50...1.0.52)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:26:00 +00:00
dependabot-preview[bot]
7cd2cf20eb
chore(deps): bump criterion from 0.3.1 to 0.3.2
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.1...0.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:25:23 +00:00
dependabot-preview[bot]
ab9b882069
chore(deps): bump structopt from 0.3.13 to 0.3.14
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.13...v0.3.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:24:46 +00:00
Mark McCaskey
2bbe3406cf Debugging LLVM trap code WIP 2020-04-26 12:52:58 -07:00
Mark McCaskey
89af5dc107 Fix new RuntimeError implementation for the Singlepass backend 2020-04-26 12:05:12 -07:00
Mark McCaskey
9723270f96 Fix tests for the Cranelift backend 2020-04-24 14:55:30 -07:00
Mark McCaskey
b9ec8f9845 Define runtime error values explicitly in Singlepass 2020-04-24 13:21:45 -07:00
Mark McCaskey
bfb6814f23 Make runtime and trap errors well defined (WIP) 2020-04-23 12:40:35 -07:00
bors[bot]
ab106af422
Merge #1358
1358: Update C API to use new API r=MarkMcCaskey a=MarkMcCaskey



# 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>
2020-04-21 20:12:46 +00:00
bors[bot]
d746135d8f
Merge #1375
1375: chore(deps): bump smallvec from 1.2.0 to 1.3.0 r=MarkMcCaskey a=dependabot-preview[bot]

Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.2.0 to 1.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/servo/rust-smallvec/releases">smallvec's releases</a>.</em></p>
<blockquote>
<h2>v1.3.0</h2>
<ul>
<li>Add a new unstable <code>const_generics</code> feature (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/204">#204</a>).</li>
<li>Improve inlining of constructor functions (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/206">#206</a>).</li>
<li>Add a <code>slice.to_smallvec()</code> convenience method (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/203">#203</a>).</li>
<li>Documentation and testing improvements.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3957cd8b36"><code>3957cd8</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/207">#207</a> - mbrubeck:bump, r=mbrubeck</li>
<li><a href="851d222629"><code>851d222</code></a> Version 1.3.0</li>
<li><a href="6a14df03e5"><code>6a14df0</code></a> Document Cargo features</li>
<li><a href="c48902fb78"><code>c48902f</code></a> Make ToSmallVec trait public</li>
<li><a href="faca460f0c"><code>faca460</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/206">#206</a> - hiddenhare:inline-constructors, r=mbrubeck</li>
<li><a href="f5f6d89e7e"><code>f5f6d89</code></a> Add #[inline] attribute to all fns which return SmallVec</li>
<li><a href="9cdf8fb424"><code>9cdf8fb</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/204">#204</a> - c410-f3r:const__generics, r=mbrubeck</li>
<li><a href="02cdf2492e"><code>02cdf24</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/205">#205</a> - c410-f3r:fix-ci, r=mbrubeck</li>
<li><a href="9f2f610d52"><code>9f2f610</code></a> Fix CI</li>
<li><a href="70e967edaa"><code>70e967e</code></a> Add support for constant generics</li>
<li>Additional commits viewable in <a href="https://github.com/servo/rust-smallvec/compare/v1.2.0...v1.3.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=smallvec&package-manager=cargo&previous-version=1.2.0&new-version=1.3.0)](https://dependabot.com/compatibility-score/?dependency-name=smallvec&package-manager=cargo&previous-version=1.2.0&new-version=1.3.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)



</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-21 19:45:39 +00:00