5019 Commits

Author SHA1 Message Date
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
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
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
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
Syrus
69d88ced53 Make commands more clear 2020-02-20 11:59:44 -08:00
Syrus
38830ed8e5 Fixed unused cd 2020-02-20 11:56:47 -08:00
losfair
02047875c6 Update changelog. 2020-02-21 03:47:26 +08:00
losfair
3fa62461e6 Specify excludes separately for linux/macos singlepass. 2020-02-21 03:47:17 +08:00
losfair
456d2dc2a8 Match against both target OS and family. 2020-02-21 03:47:01 +08:00
Syrus
c8df4fb5da Removed empty lines 2020-02-20 11:25:46 -08:00
Syrus
aa0f33203c Reuse doc file for capi docs 2020-02-20 11:24:54 -08:00
losfair
c1f1a82854 Check for unused excludes. 2020-02-21 03:23:44 +08:00
Ivan Enderlin
2ef13cdc81 fix(interface-types) Remove #[allow(unused)]. 2020-02-20 15:16:35 +01:00
Ivan Enderlin
5e00153d29 feat(interface-types) Decode instructions in WIT's text format. 2020-02-20 15:13:11 +01:00
Ivan Enderlin
cda53a57b5 feat(interface-types) Replace nom by wast for decoding WIT's text format. 2020-02-20 14:43:58 +01:00
Syrus
1d9741b856 Fixed make capi script in windows 2020-02-19 23:14:10 -08:00
Syrus
f0abcb0a7a Fixing C api creation only for Linux 2020-02-19 21:49:47 -08:00
Syrus
b31d8d73d8 Fixed windows library 2020-02-19 21:39:47 -08:00