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>
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>
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>
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>
1394: Bump libc from 0.2.68 to 0.2.69 r=MarkMcCaskey a=dependabot-preview[bot]
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.68 to 0.2.69.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/libc/releases">libc's releases</a>.</em></p>
<blockquote>
<h2>0.2.69</h2>
<p>Bump patch version to 0.2.69</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d833b6b2d6"><code>d833b6b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/libc/issues/1732">#1732</a> from Minoru/feature/release-0.2.69</li>
<li><a href="9604f461dc"><code>9604f46</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/libc/issues/1697">#1697</a> from JohnTitor/emscripten</li>
<li><a href="542eef19b9"><code>542eef1</code></a> Fix <code>max_align_t</code> size and align</li>
<li><a href="c1a4d6271d"><code>c1a4d62</code></a> Use wasi values for <code>errno</code>s</li>
<li><a href="622e6f5d25"><code>622e6f5</code></a> Update node to v12.16.2</li>
<li><a href="991678ce0b"><code>991678c</code></a> Skip test for <code>SYS_gettid</code></li>
<li><a href="3d8197ec2b"><code>3d8197e</code></a> Update links</li>
<li><a href="80a2f9cbb2"><code>80a2f9c</code></a> Update emsdk to 1.39.12</li>
<li><a href="4eb6331c4f"><code>4eb6331</code></a> Remove <code>TCP_FASTOPEN_CONNECT</code> from emscripten</li>
<li><a href="be0347bbec"><code>be0347b</code></a> Remove <code>IPV6_FLOWINFO</code> from emscripten</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/libc/compare/0.2.68...0.2.69">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=libc&package-manager=cargo&previous-version=0.2.68&new-version=0.2.69)](https://dependabot.com/compatibility-score/?dependency-name=libc&package-manager=cargo&previous-version=0.2.68&new-version=0.2.69)
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>
1374: chore(deps): bump parking_lot from 0.10.0 to 0.10.2 r=MarkMcCaskey a=dependabot-preview[bot]
Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.10.0 to 0.10.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md">parking_lot's changelog</a>.</em></p>
<blockquote>
<h2>parking_lot 0.10.2 (2020-04-10)</h2>
<ul>
<li>Update minimum version of <code>lock_api</code>.</li>
</ul>
<h2>parking_lot 0.10.1, parking_lot_core 0.7.1, lock_api 0.3.4 (2020-04-10)</h2>
<ul>
<li>Add methods to construct <code>Mutex</code>, <code>RwLock</code>, etc in a <code>const</code> context. (<a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/217">#217</a>)</li>
<li>Add <code>FairMutex</code> which always uses fair unlocking. (<a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/204">#204</a>)</li>
<li>Fixed panic with deadlock detection on macOS. (<a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/203">#203</a>)</li>
<li>Fixed incorrect synchronization in <code>create_hashtable</code>. (<a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/210">#210</a>)</li>
<li>Use <code>llvm_asm!</code> instead of the deprecated <code>asm!</code>. (<a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/223">#223</a>)</li>
</ul>
<h2>lock_api 0.3.3 (2020-01-04)</h2>
<ul>
<li>Deprecate unsound <code>MappedRwLockWriteGuard::downgrade</code> (<a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/198">#198</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4cb93a3268"><code>4cb93a3</code></a> Bump parking_lot to version 0.10.2</li>
<li><a href="d070a26900"><code>d070a26</code></a> Merge <a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/224">#224</a></li>
<li><a href="8030870c0f"><code>8030870</code></a> Update required parking_lot_core version</li>
<li><a href="413432c43e"><code>413432c</code></a> Fix required lock_api version</li>
<li><a href="699325c9a7"><code>699325c</code></a> Add test for <a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/203">#203</a></li>
<li><a href="761a4d567f"><code>761a4d5</code></a> Bump versions of all crates</li>
<li><a href="87a574488c"><code>87a5744</code></a> Merge <a href="https://github-redirect.dependabot.com/Amanieu/parking_lot/issues/223">#223</a></li>
<li><a href="806e5c1c1e"><code>806e5c1</code></a> Attempt to fix CI</li>
<li><a href="9bed8e3dd1"><code>9bed8e3</code></a> Fix documentation link</li>
<li><a href="dce000d302"><code>dce000d</code></a> Use llvm_asm! instead of asm!</li>
<li>Additional commits viewable in <a href="https://github.com/Amanieu/parking_lot/compare/0.10.0...0.10.2">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=parking_lot&package-manager=cargo&previous-version=0.10.0&new-version=0.10.2)](https://dependabot.com/compatibility-score/?dependency-name=parking_lot&package-manager=cargo&previous-version=0.10.0&new-version=0.10.2)
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>
1376: chore(deps): bump structopt from 0.3.12 to 0.3.13 r=MarkMcCaskey a=dependabot-preview[bot]
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.12 to 0.3.13.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md">structopt's changelog</a>.</em></p>
<blockquote>
<h1>v0.3.13 (2020-04-9)</h1>
<ul>
<li>Bump <code>proc-macro-error</code> to <code>1.0</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/TeXitoi/structopt/commits">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=structopt&package-manager=cargo&previous-version=0.3.12&new-version=0.3.13)](https://dependabot.com/compatibility-score/?dependency-name=structopt&package-manager=cargo&previous-version=0.3.12&new-version=0.3.13)
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>
1392: Bump blake3 from 0.3.1 to 0.3.2 r=MarkMcCaskey a=dependabot-preview[bot]
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3) from 0.3.1 to 0.3.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="fcb4b83419"><code>fcb4b83</code></a> version 0.3.2</li>
<li><a href="d5e26538fc"><code>d5e2653</code></a> refactor build.rs</li>
<li><a href="7ef795d62e"><code>7ef795d</code></a> Do not require AVX512DQ</li>
<li><a href="370ba3644a"><code>370ba36</code></a> print the compiler version in CI, for help with debugging</li>
<li><a href="86c3174d5b"><code>86c3174</code></a> unbreak neon benchmarks</li>
<li><a href="e3069da68e"><code>e3069da</code></a> only run CI on branches and PRs, not tags</li>
<li>See full diff in <a href="https://github.com/BLAKE3-team/BLAKE3/compare/0.3.1...0.3.2">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=blake3&package-manager=cargo&previous-version=0.3.1&new-version=0.3.2)](https://dependabot.com/compatibility-score/?dependency-name=blake3&package-manager=cargo&previous-version=0.3.1&new-version=0.3.2)
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>
1390: Bump serde_json from 1.0.48 to 1.0.51 r=MarkMcCaskey a=dependabot-preview[bot]
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.48 to 1.0.51.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.51</h2>
<ul>
<li>Terminate StreamDeserializer after errors instead of repeatedly reparsing the same failed input (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/647">#647</a>)</li>
<li>Add FusedIterator impls for StreamDeserializer and for Map's various iterators</li>
</ul>
<h2>v1.0.50</h2>
<ul>
<li>Implement Eq for Value, Map, Number (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/640">#640</a>, thanks <a href="https://github.com/smarnach">@smarnach</a>)</li>
</ul>
<h2>v1.0.49</h2>
<ul>
<li>Improve error message when neither "std" nor "alloc" feature is enabled (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/643">#643</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f77c84dd3d"><code>f77c84d</code></a> Release 1.0.51</li>
<li><a href="8e76584c20"><code>8e76584</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/649">#649</a> from serde-rs/fused</li>
<li><a href="d133748122"><code>d133748</code></a> Implement FusedIterator for StreamDeserializer where possible</li>
<li><a href="858b01d852"><code>858b01d</code></a> Implement FusedIterator for Map iterators</li>
<li><a href="4c81923102"><code>4c81923</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/648">#648</a> from serde-rs/streamerror</li>
<li><a href="e99e9d3713"><code>e99e9d3</code></a> Return None after stream deserializer has failed</li>
<li><a href="a1b1199e72"><code>a1b1199</code></a> Test stream behavior after error</li>
<li><a href="fd6741f4b0"><code>fd6741f</code></a> Release 1.0.50</li>
<li><a href="4ac9f6c7bf"><code>4ac9f6c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/640">#640</a> from smarnach/smarnach/eq-impls</li>
<li><a href="99eb4eab76"><code>99eb4ea</code></a> Implement Eq for Map, Number and Value.</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.48...v1.0.51">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.48&new-version=1.0.51)](https://dependabot.com/compatibility-score/?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.48&new-version=1.0.51)
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>
1395: Bump regex from 1.3.6 to 1.3.7 r=MarkMcCaskey a=dependabot-preview[bot]
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.6 to 1.3.7.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's changelog</a>.</em></p>
<blockquote>
<h1>1.3.7 (2020-04-17)</h1>
<p>This release contains a small bug fix that fixes how <code>regex</code> forwards crate
features to <code>regex-syntax</code>. In particular, this will reduce recompilations in
some cases.</p>
<p>Bug fixes:</p>
<ul>
<li>[BUG <a href="https://github-redirect.dependabot.com/rust-lang/regex/issues/665">#665</a>](<a href="https://github-redirect.dependabot.com/rust-lang/regex/pull/665">rust-lang/regex#665</a>):
Fix feature forwarding to <code>regex-syntax</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="adb4aa3ce4"><code>adb4aa3</code></a> regex-1.3.7</li>
<li><a href="761284d2ee"><code>761284d</code></a> changelog: 1.3.7</li>
<li><a href="672d877019"><code>672d877</code></a> sparse: add better Debug impl</li>
<li><a href="b490e0b2e5"><code>b490e0b</code></a> cargo: tweak features for regex-syntax</li>
<li>See full diff in <a href="https://github.com/rust-lang/regex/compare/1.3.6...regex-1.3.7">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.3.6&new-version=1.3.7)](https://dependabot.com/compatibility-score/?dependency-name=regex&package-manager=cargo&previous-version=1.3.6&new-version=1.3.7)
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>
1391: Bump anyhow from 1.0.26 to 1.0.28 r=MarkMcCaskey a=dependabot-preview[bot]
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.26 to 1.0.28.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.28</h2>
<ul>
<li>Documentation improvements (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/73">#73</a>, <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/78">#78</a>)</li>
</ul>
<h2>1.0.27</h2>
<ul>
<li>
<p>Improve documentation of backtrace environment variable combinations (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/69">#69</a>)</p>
<blockquote>
<ul>
<li>If you want panics and errors to both have backtraces, set <code>RUST_BACKTRACE=1</code>;</li>
<li>If you want only errors to have backtraces, set <code>RUST_LIB_BACKTRACE=1</code>;</li>
<li>If you want only panics to have backtraces, set <code>RUST_BACKTRACE=1</code> and <code>RUST_LIB_BACKTRACE=0</code>.</li>
</ul>
</blockquote>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="022f700a1c"><code>022f700</code></a> Release 1.0.28</li>
<li><a href="e2eb1f5263"><code>e2eb1f5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/78">#78</a> from dtolnay/cfg</li>
<li><a href="d65ec5ed2f"><code>d65ec5e</code></a> Use doc_cfg to mark Error::new</li>
<li><a href="e46df9f4a5"><code>e46df9f</code></a> Rephrase nightly backtrace note</li>
<li><a href="946bff8a54"><code>946bff8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/73">#73</a> from lzybkr/nightly_in_docs</li>
<li><a href="a07b84b641"><code>a07b84b</code></a> Mention nightly in module docs</li>
<li><a href="ffc45d2d42"><code>ffc45d2</code></a> Select a single docs.rs build target</li>
<li><a href="e7702aa4fc"><code>e7702aa</code></a> Release 1.0.27</li>
<li><a href="19be9654a0"><code>19be965</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/71">#71</a> from dtolnay/dev</li>
<li><a href="4426253333"><code>4426253</code></a> Disable dev dependency on futures executor</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.26...1.0.28">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.26&new-version=1.0.28)](https://dependabot.com/compatibility-score/?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.26&new-version=1.0.28)
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>
1396: Correct the backend name in README r=nlewycky a=satrobit
The README mistakenly said LLVM when it was referring to the singlepass backend. It's just a simple doc fix.
Co-authored-by: Amir Keshavarz <satrobit@users.noreply.github.com>
1388: Remove --test-threads=1 added to singlepass in 4d8eb7 now that the underlying bug is fixed. r=syrusakbary a=nlewycky
Co-authored-by: Nick Lewycky <nicholas@mxc.ca>
1385: Fix underflow in subtraction on global.get with float-type global. r=nlewycky a=nlewycky
# Description
Fix spectests-singlepass failures that appear when in debug builds (checked subtraction). The global.get opcode pushes to the fp_stack first and the value_stack second, so it shouldn't be subtracting 1 from the size of the value_stack.
Co-authored-by: Nick Lewycky <nicholas@mxc.ca>
Co-authored-by: nlewycky <nick@wasmer.io>