Bo Yao
24bcc9349e
cargo fmt
2021-04-21 15:42:47 -07:00
Bo Yao
92af25a585
resolve conflict, replace two primary map to hash map
2021-04-20 16:50:05 -07:00
Ivan Enderlin
e1e2f03c7c
fix: Rename lib/wasmer-types/ to lib/types/.
2021-03-23 17:36:58 +01:00
Ivan Enderlin
4b752ed498
chore: Use loupe 0.1.0.
2021-03-23 11:18:31 +01:00
Ivan Enderlin
2afed4d813
feat: Use latest version of loupe.
2021-03-22 11:43:46 +01:00
Ivan Enderlin
026520998c
feat: Start implementing loupe::MemoryUsage on wasmer::Store.
2021-03-22 11:42:28 +01:00
Nick Lewycky
9e1cec01be
Prepare for 1.0.2 release
2021-02-04 19:44:49 -08:00
Nick Lewycky
63366278cd
Add the ability to call directly through a register.
...
Simplify some code a little using it.
2021-02-01 11:30:37 -08:00
Jiyong Ha
7121ebe3b5
Update lib/compiler-singlepass/src/machine.rs
...
Co-authored-by: Ivan Enderlin <ivan@mnt.io >
2021-01-14 17:39:30 +09:00
Jiyong Ha
60d61a6469
Update lib/compiler-singlepass/src/machine.rs
...
Co-authored-by: Ivan Enderlin <ivan@mnt.io >
2021-01-14 17:39:23 +09:00
losfair
1fc405b6b6
Merge remote-tracking branch 'origin/master' into feature/refactor-init-stack-assembly
2021-01-13 20:20:12 +08:00
losfair
d5b6560bd9
Run cargo fmt.
2021-01-13 20:14:05 +08:00
losfair
87f6ea945a
Add stack probe.
2021-01-13 20:12:52 +08:00
Jiyong Ha
6d5f169b07
refactor: Optimize local stack initialization assembly
2021-01-13 11:34:05 +09:00
Mark McCaskey
924ffd8797
Prepare for 1.0.1 release
2021-01-12 08:08:19 -08:00
Mark McCaskey
3654cb17a5
Fix RUSTSEC-2021-0003
2021-01-11 12:51:07 -08:00
Mark McCaskey
cac4583b19
Add links on all crates.io badges
2021-01-07 06:48:32 -08:00
Mark McCaskey
0448f729fd
Fix up readme files, remove version numbers
2021-01-07 06:36:27 -08:00
Mark McCaskey
bc73789cc0
Prepare for 1.0.0 release
2021-01-05 06:21:03 -08:00
Mark McCaskey
1ac42e2e3b
Update usage of beta to rc
2020-12-23 11:33:53 -08:00
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