5352 Commits

Author SHA1 Message Date
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
Ivan Enderlin
0c5d46eec9 feat(interface-types) Re-implement interface kinds.
Adopt a flat structure: Flat resolved imports, flat resolved exports,
flat resolved types etc.

Also, use the latest textual format for adapters & co.
2020-02-24 18:12:01 +01: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
Ivan Enderlin
c64febdad6 feat(interface-types) Re-implement Type.
The semantics of “types” have changed since the previous draft. Now, a
type is like a regular WebAssembly type but with Interface Types.
2020-02-24 16:23:31 +01:00
Ivan Enderlin
d1ed647efc feat(interface-types) Forwarded adapters have been removed. 2020-02-24 15:56:11 +01:00
Ivan Enderlin
8538e3be33 feat(interface-types) The “helper adapter” has been removed. 2020-02-24 15:49:03 +01:00
Ivan Enderlin
ac68325cc9 feat(interface-types) Update interface types.
According to the last working notes, new interface types are s8, s16,
s32, s64, u8, u16, u32, u64, f32, f64, string, anyref, i32, and i64.

Their binary reprensentations are changing too, from 0x00 to 0x0d.
2020-02-24 15:37:03 +01: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
Mark McCaskey
d7fca539c1 Make JitCodeDebugInfoEntryHandleInner Send and Sync 2020-02-21 15:10:58 -08:00
Mark McCaskey
40e4dddc4b Add updates from feedback
Co-authored-by: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
2020-02-21 14:33:32 -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
Mark McCaskey
3d6e915108
Merge branch 'master' into feature/debug-prototype2 2020-02-20 17:48:02 -08:00
Mark McCaskey
7c5f8251e3 Flatten tuple in return type, conditionally remove more jit debug code 2020-02-20 16:59:59 -08: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
Syrus Akbary
2842baca82
Update README.md 2020-02-20 14:49:55 -08:00
Syrus
f229dd7aa5 Cleanup the codebase 2020-02-20 14:48:10 -08:00
Syrus Akbary
805bd40ee2
Merge pull request #1235 from wasmerio/release/0.14.0
Prepare for 0.14.0 release
2020-02-20 13:17:33 -08:00
Mark McCaskey
1374bf0806 Prepare for 0.14.0 release 2020-02-20 13:15:29 -08:00
Mark McCaskey
0ec08b5bbd Add updates from feedback 2020-02-20 13:06:50 -08:00
bors[bot]
49ab1a1bba
Merge #1233
1233: Improved Wasmer C API release artifacts 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 artifacts generated for Wasmer C API, in a way that is much more consumable, including a quick README and License.

So, after running `make capi && make build-capi` We will have a `wasmer-c-api.tar.gz` file with the following structure
```
/
  lib/
    libwasmer.a
    libwasmer.so
  include/
    wasmer.h
    wasmer.hh
  README.md
  LICENSE
```

See example generated artifact here: 
[wasmer-c-api.tar.gz](https://github.com/wasmerio/wasmer/files/4228560/wasmer-c-api.tar.gz)

<!-- 
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>
2020-02-20 20:47:23 +00:00