Commit Graph

5594 Commits

Author SHA1 Message Date
Syrus Akbary
0575a7ed3f
Merge pull request #1439 from Hywan/feat-interface-types-new-repo-rm
feat(interface-types) Move to its own repository
2020-05-12 20:44:17 -07:00
Ivan Enderlin
0b19e2f90e feat(interface-types) Move to its own repository.
New repository is https://github.com/wasmerio/interface-types.
2020-05-12 17:31:26 +02:00
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