Commit Graph

470 Commits

Author SHA1 Message Date
Mark McCaskey
2d1c03bea0 Prepare for 1.0.0-rc1 release 2020-12-23 11:17:07 -08:00
Simon Warta
c41451a547 Replace wasmparser::Result with wasmer::WasmResult in middleware 2020-12-23 00:07:00 +01:00
Mark McCaskey
59df6917d8 Prepare for 1.0.0-beta2 release 2020-12-16 07:41:59 -08:00
Syrus
f2356ed7a4 Fix linting issues 2020-12-07 17:34:44 -08:00
Syrus Akbary
bfbb0e12da Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-07 17:08:09 -08:00
Syrus Akbary
5a2c14a4d5 Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-07 17:07:55 -08:00
Syrus Akbary
f6c0d4f260 Fix lint in singlepass 2020-12-07 16:59:53 -08:00
Syrus Akbary
b54df7e6d9 Fixed lint issues in singlepass 2020-12-07 16:59:16 -08:00
Syrus Akbary
30f622fe36 Merge branch 'master' of github.com:wasmerio/wasmer into singlepass-addressmap 2020-12-07 16:56:56 -08:00
Syrus Akbary
263504df43 Improved instruction mapping 2020-12-07 16:56:22 -08:00
Simon Warta
624f0ecc28 Use triple macro 2020-12-07 11:20:04 +01:00
Simon Warta
249b955d71 Add CompileError::UnsupportedTarget error 2020-12-07 11:20:04 +01:00
Syrus Akbary
1ee0146954 Fix all compilation issues simplifying the code 2020-12-04 15:58:38 -08:00
Syrus Akbary
f119af7649 Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-04 14:15:30 -08:00
Syrus Akbary
b7eb9289fb Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-04 14:15:20 -08:00
Syrus Akbary
785f41b994 Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-04 14:15:11 -08:00
Syrus Akbary
6e38d72f16 Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-04 14:14:59 -08:00
Syrus Akbary
0893de02af Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-04 14:14:49 -08:00
Syrus Akbary
34cf0111a9 Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-04 13:36:42 -08:00
Syrus Akbary
9a5336fb9b Update lib/compiler-singlepass/src/codegen_x64.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-12-04 13:36:31 -08:00
Syrus Akbary
bdb0a93fad Update address_map.rs 2020-12-04 03:22:12 -08:00
Syrus
13e6f29c29 Set compiler config to be owned (following wasm-c-api) 2020-12-04 02:39:19 -08:00
Syrus
cc0d595f76 Fixed last tests in Linux 2020-12-03 23:02:09 -08:00
Syrus
2178f27a47 Added stackoverflow traps on function calls in singlepass 2020-12-03 22:09:40 -08:00
Syrus
77458752f5 Added address map instructions for traps in singlepass 2020-12-03 21:17:46 -08:00
Mark McCaskey
e928a832a8 Update mentions of alpha to beta 2020-12-02 11:01:54 -08:00
Mark McCaskey
947e7d394f Prepare for 1.0.0-beta1 release 2020-12-01 17:15:46 -08:00
nlewycky
f110c4d308 Merge branch 'master' into feature/middleware 2020-11-30 15:12:02 -08:00
bors[bot]
636a533b34 Merge #1846
1846: feat: Use the same version of `smallvec` everywhere r=jubianchi a=Hywan

# Description

This patch uniformize the `smallvec` versions in all our crates.
Closes https://github.com/wasmerio/wasmer/pull/1834.

# Review

- ~[ ] Add a short description of the the change to the CHANGELOG.md file~ not necessary I guess


Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-11-27 15:18:14 +00:00
Ivan Enderlin
ef2a55fb60 fix(compiler-singlepass) Fix future rustc error.
When compiling `wasmer-compiler-singlepass`, one can read an warning as:

```
warning: cannot borrow `*self` as mutable because it is also borrowed as immutable
    --> lib/compiler-singlepass/src/codegen_x64.rs:5132:29
     |
5125 |                 while let Some(fp) = self.fp_stack.last() {
     |                                      ------------- immutable borrow occurs here
...
5132 |                             self.canonicalize_nan(
     |                             ^^^^ mutable borrow occurs here
5133 |                                 fp.canonicalization.unwrap().to_size(),
     |                                 ------------------- immutable borrow later used here
     |
     = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default
     = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future
     = note: for more information, see issue #59159 <https://github.com/rust-lang/rust/issues/59159>
```

This patch fixes that now a warning, future error.
2020-11-27 11:18:22 +01:00
Ivan Enderlin
6eaeeeb60c feat: Use the same version of smallvec everywhere. 2020-11-26 16:56:59 +01:00
Nick Lewycky
363a28cb55 Fix middleware with singlepass. 2020-11-23 14:39:26 -08:00
losfair
9d8f315d4c Update module info in-place. 2020-11-23 13:42:51 -08:00
losfair
e7dd725c6d Add module info transformation method to ModuleMiddleware. 2020-11-20 14:34:46 -08:00
Nick Lewycky
49b0a4a16a Prepare for 1.0.0-alpha5 release. 2020-11-06 11:50:07 -08:00
Syrus
2387ec07b6 Upgrade dependencies 2020-10-29 22:59:48 -07:00
Syrus
b123f92f56 Simplified local_decl 2020-10-29 20:19:37 -07:00
Syrus
ba60630407 Upgrade wasmparser to 0.62 2020-10-29 16:21:43 -07:00
Syrus
b7792f03c2 Upgrade wasmparser to 0.60 2020-10-29 15:50:04 -07:00
Syrus
73e502ecc5 Remove unused sourceloc 2020-10-28 13:01:18 -07:00
Mark McCaskey
61c88be863 Prepare for 1.0.0-alpha4 release 2020-10-08 16:47:14 -07:00
Syrus
ccb3fbd5c1 Fixed versions of Wasmer in READMEE 2020-09-15 14:32:16 +03:00
Mark McCaskey
ead9532004 Prepare for 1.0.0-alpha3 release 2020-09-14 13:12:56 -07:00
Syrus
2cd12213fb Standardize Cargo files of all crates 2020-09-13 22:11:16 +03:00
Mark McCaskey
1ee2ba30a2 Prepare for 1.0.0-alpha02.0 release 2020-09-11 14:40:25 -07:00
Mark McCaskey
d81c9dd686 Fix up Cargo manifests for publishing Wasmer 2020-08-17 10:41:14 -07:00
Mark McCaskey
e06ca4ffd2 Prepare for 1.0.0-alpha01.0 release
This is the first alpha release of `1.0.0`: expect breaking changes.

The version suffix `alpha01.0` was chosen so that we can ship updates
that automatically update with the latter number and can prevent
auto-updates by incrementing the former number (which is not actually
a number as far as semver is concerned).

Also because crates.io sorts versions lexicographically, it will
display the wrong readme if we get to alpha10, so we pad with an extra
0 just in case we need more than 9 releases of alpha.
2020-08-14 16:08:44 -07:00
Mark McCaskey
6e974b92cd Run cargo fmt 2020-08-13 18:12:43 -07:00
Mark McCaskey
5049c543dc Rename wasm-common crate to wasmer-types 2020-08-13 17:59:26 -07:00
Nick Lewycky
fadd5d6699 Remove nearly-all mentions of reborn. 2020-08-13 11:32:14 -07:00