5044 Commits

Author SHA1 Message Date
losfair
72e6a85ea5 Update changelog. 2020-02-26 23:42:48 +08:00
losfair
eb89720d5a Merge remote-tracking branch 'origin/feature/polymorphic-v2' into feature/polymorphic-v2 2020-02-26 17:09:10 +08:00
losfair
b0877b26e5 Add safety notice for TrampolineBufferBuilder::remove_global. 2020-02-26 17:07:56 +08:00
Heyang Zhou
a438a644b6
fold() -> sum()
Co-Authored-By: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
2020-02-26 17:01:36 +08:00
Heyang Zhou
292e42addc
Update lib/runtime-core/src/typed_func.rs
Co-Authored-By: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
2020-02-26 17:01:16 +08:00
losfair
262d431b49 Remove unneeded allow(dead_code). 2020-02-26 16:59:31 +08:00
losfair
a0ea1af71f Remove pub(self). 2020-02-26 16:54:33 +08:00
losfair
96d9e39913 Specify imports instead of using a *. 2020-02-26 13:40:02 +08:00
losfair
40d823e298 Merge remote-tracking branch 'origin/master' into feature/polymorphic-v2 2020-02-26 01:45:18 +08:00
losfair
80f824e708 Auto-release trampolines. 2020-02-26 01:45:11 +08:00
losfair
b7c9c1843a Add dynamic executable memory allocation & tests to trampolines. 2020-02-26 01:44:50 +08:00
bors[bot]
6059c04630
Merge #1220
1220: chore(deps): bump smallvec from 0.6.13 to 1.2.0 r=MarkMcCaskey a=dependabot-preview[bot]

Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.13 to 1.2.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.2.0</h2>
<ul>
<li><code>IntoIter</code> now implements <code>Debug</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/196">#196</a>).</li>
<li><code>smallvec!</code> macro is now easier to use in <code>no_std</code> contexts where the <code>vec!</code> macro isn't automatically imported (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/198">#198</a>).</li>
</ul>
<h2>v1.1.0</h2>
<ul>
<li>Added new method <code>SmallVec::into_boxed_slice</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/190">#190</a>).</li>
<li>Added new methods <code>IntoIter::as_slice</code> and <code>as_mut_slice</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/182">#182</a>).</li>
<li><code>IntoIter</code> now implements <code>Clone</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/192">#192</a>).</li>
<li>Improved documentation and testing (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/186">#186</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/189">#189</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/193">#193</a>).</li>
<li>Minor code cleanups (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/176">#176</a>).</li>
</ul>
<h2>v1.0.0</h2>
<ul>
<li>Requires Rust 1.36 or later.</li>
<li>[breaking change] Use <code>MaybeUninit</code> to avoid possible undefined behavior (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/162">#162</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/170">#170</a>).</li>
<li>[breaking change] The <code>drain</code> method now takes a range argument, just like the standard <code>Vec::drain</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/145">#145</a>).</li>
<li>[breaking change] Remove the <code>unreachable</code> function and replace it with the new standard <code>unreachable_unchecked</code> function (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/164">#164</a>).</li>
<li>[breaking change] Use <code>no_std</code> by default. This crate depends only on <code>core</code> and <code>alloc</code> by default. If the optional <code>write</code> feature is enabled then it depends on <code>std</code> so that <code>SmallVec&lt;[u8;_]&gt;</code> can implement the <code>std::io::Write</code> trait (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/173">#173</a>).</li>
<li>[breaking change] Remove the deprecated <code>VecLike</code> trait (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/165">#165</a>).</li>
<li>Add support for 96-element small vectors, <code>SmallVec&lt;[T; 96]&gt;</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/163">#163</a>).</li>
<li>Iterators now implement <code>FusedIterator</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/172">#172</a>).</li>
<li>Indexing now uses the standard <code>SliceIndex</code> trait (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/166">#166</a>).</li>
<li>Add automatic fuzz testing and MIRI testing (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/168">#168</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/162">#162</a>).</li>
<li>Update syntax and formatting to Rust 2018 standard (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/174">#174</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/167">#167</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="08b82495c0"><code>08b8249</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/199">#199</a> - mbrubeck:bump, r=emilio</li>
<li><a href="04d54bd9ca"><code>04d54bd</code></a> Version 1.2.0</li>
<li><a href="ea0dbc89c5"><code>ea0dbc8</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/198">#198</a> - mbrubeck:macro, r=jdm</li>
<li><a href="74e9319b47"><code>74e9319</code></a> Use full path to vec! in smallvec! macro</li>
<li><a href="6e61239a2a"><code>6e61239</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/196">#196</a> - Nemo157:intoiter-debug, r=mbrubeck</li>
<li><a href="a4ed1b854f"><code>a4ed1b8</code></a> impl Debug for IntoIter</li>
<li><a href="34d7b8d8e2"><code>34d7b8d</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/193">#193</a> - mbrubeck:bump, r=emilio</li>
<li><a href="436dedbd50"><code>436dedb</code></a> Version 1.1.0</li>
<li><a href="19048d5270"><code>19048d5</code></a> Add a simple example to the README</li>
<li><a href="941d6aae0f"><code>941d6aa</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/192">#192</a> - L0uisc:clone-into-iter, r=mbrubeck</li>
<li>Additional commits viewable in <a href="https://github.com/servo/rust-smallvec/compare/v0.6.13...v1.2.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=0.6.13&new-version=1.2.0)](https://dependabot.com/compatibility-score/?dependency-name=smallvec&package-manager=cargo&previous-version=0.6.13&new-version=1.2.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-02-24 21:53:50 +00:00
dependabot-preview[bot]
1bc6565935
chore(deps): bump smallvec from 0.6.13 to 1.2.0
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.13 to 1.2.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v0.6.13...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 21:45:50 +00:00
bors[bot]
c183a187ca
Merge #1246
1246: Prepare for 0.14.1 release r=MarkMcCaskey a=MarkMcCaskey

0.14.1 differs from 0.14.0 primarily in that the GNU/Linux build is
built on Ubuntu 16.04 instead of 18.04, meaning we'll use an earlier
version of GLIBC.

# Review

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


Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-02-24 21:21:21 +00:00
Mark McCaskey
ce21910077 Prepare for 0.14.1 release
0.14.1 differs from 0.14.0 primarily in that the GNU/Linux build is
built on Ubuntu 16.04 instead of 18.04, meaning we'll use an earlier
version of GLIBC.
2020-02-24 13:20:12 -08:00
bors[bot]
077d81f2bb
Merge #1245
1245: Revert change of Ubuntu 18.04 to 16.04 r=MarkMcCaskey a=MarkMcCaskey

I didn't document why I changed it to 18.04 in #1163 ; making this PR to run CI and find out why.

It looks like CI is passing!  I have no idea why I updated to 18.04.  Perhaps I misread [the support table](https://wiki.ubuntu.com/Releases) and thought 16.04 no longer had standard support.

Either way, this PR seems good to merge.

# Review

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


Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-02-24 19:37:47 +00:00
Mark McCaskey
f3d4b56746 Revert change of Ubuntu 18.04 to 16.04 2020-02-24 11:05:09 -08:00
losfair
b67acbc0e3 Add ErasedFunc for type-erased functions. 2020-02-25 01:19:19 +08:00
losfair
2020901d75 Merge remote-tracking branch 'origin/master' into feature/polymorphic-v2 2020-02-25 00:56:46 +08:00
Heyang Zhou
644755faec
Merge pull request #1225 from Hywan/feature/polymorphic-v2.1
feat(runtime-core) Allow dynamic signature for polymorphic host functions
2020-02-25 00:55:28 +08:00
Syrus Akbary
ad04e07c67
Merge pull request #1243 from wasmerio/dependabot/cargo/hex-0.4.2
Bump hex from 0.4.1 to 0.4.2
2020-02-24 00:33:32 -08:00
Syrus Akbary
30dc9a18ba
Merge pull request #1242 from wasmerio/dependabot/cargo/libc-0.2.67
Bump libc from 0.2.66 to 0.2.67
2020-02-24 00:33:00 -08:00
dependabot-preview[bot]
eaeb17e2c9
Bump hex from 0.4.1 to 0.4.2
Bumps [hex](https://github.com/KokaKiwi/rust-hex) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases)
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.1...v0.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 08:06:51 +00:00
dependabot-preview[bot]
a145a75758
Bump libc from 0.2.66 to 0.2.67
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.66 to 0.2.67.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.66...0.2.67)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 08:06:17 +00:00
bors[bot]
9b7cc5f901
Merge #1241
1241: Remove signatures_raw r=syrusakbary a=nlewycky

# Description
I previously added a new field to LLVMModuleCodeGenerator which wasn't necessary. The data is available in ModuleInfo which in turn is available everywhere we need it. Remove the dead field, use ModuleInfo instead.


Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2020-02-21 23:57:36 +00:00
Syrus Akbary
a739b583c7
Merge branch 'master' into nlewycky/remove-signatures-raw 2020-02-21 15:57:15 -08:00
Nick Lewycky
a56660bfe9 Remove LLVMModuleCodeGenerator::signatures_raw which is a clone of a mapping available in ModuleInfo. 2020-02-21 13:31:49 -08:00
Syrus Akbary
409ddc440e
Merge pull request #1240 from wasmerio/nlewycky-patch-1
Fix typo in comment.
2020-02-21 11:49:52 -08:00
nlewycky
3b1a1227c7
Fix typo in comment.
Noticed while inspecting the generated wasmer.h.
2020-02-21 11:49:18 -08:00
Nick Lewycky
642e6c3db1 Fix typo in comment. 2020-02-21 11:44:31 -08:00
Syrus Akbary
f632b8179c
Merge pull request #1234 from wasmerio/feature/spectest-check-excluded
Check for unused excluded spectest failures.
2020-02-21 11:10:28 -08:00
losfair
f717d4c779 Merge remote-tracking branch 'origin/master' into feature/spectest-check-excluded 2020-02-22 01:26:10 +08:00
losfair
f2084982d4 Make excludes more specialized. 2020-02-22 01:25:14 +08:00
Syrus Akbary
210eeae018
Merge pull request #1238 from Hywan/doc-readme-logo
doc(readme) Fix logo
2020-02-21 08:12:55 -08:00
Ivan Enderlin
6b667805d7
Merge branch 'master' into doc-readme-logo 2020-02-21 13:41:35 +01:00
Ivan Enderlin
1e52d4b9b2 doc(readme) Fix logo. 2020-02-21 13:39:43 +01:00
bors[bot]
a96c436afc
Merge #1232
1232: feat(interface-types) Implement the WAT decoder r=Hywan a=Hywan

WIP

The goal is the define a minimal WAT to AST decoder for WIT, so that it's muuuuuuch easier to develop and debug.

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
2020-02-21 11:38:50 +00:00
Ivan Enderlin
4b0a1ef6d6 doc(changelog) Add #1232. 2020-02-21 12:38:16 +01:00
Ivan Enderlin
4acd4becaf chore(cargo) Update Cargo.lock. 2020-02-21 12:25:27 +01:00
Ivan Enderlin
48f8823879 Merge branch 'master' into feat-interface-types-decoders-wat 2020-02-21 12:24:52 +01:00
Ivan Enderlin
80d0b5116f doc(interface-types) Add intra links. 2020-02-21 12:23:58 +01:00
Ivan Enderlin
0afd308c44 feat(interface-types) Add the parse public API.
Also rename `kw` to `keyword`.
2020-02-21 12:23:20 +01:00
Syrus Akbary
5455616463
Update README.md 2020-02-20 15:31:19 -08:00
Syrus Akbary
903d2f7344
Update README.md 2020-02-20 15:26:30 -08:00
Syrus Akbary
a0878ab4f1
Merge pull request #1236 from wasmerio/feature/clean-codebase
Cleanup codebase structure
2020-02-20 15:18:08 -08:00
Syrus
22f8b41667 Improved Homebrew message 2020-02-20 15:11:52 -08:00
Syrus
25eb86afe3 Remove make wapm from Makefile 2020-02-20 15:10:57 -08:00
Syrus
51f906a25a Fixed docs links 2020-02-20 15:08:26 -08:00
Syrus
1901c5088c Deleted unused dockerignore 2020-02-20 15:05:43 -08:00
Syrus Akbary
f078d7d3f4
Update README.md 2020-02-20 14:50:33 -08:00