Commit Graph

339 Commits

Author SHA1 Message Date
Mark McCaskey
1d3ee22991 Get spectests passing with compiler-cranelift with hacks 2021-02-10 11:20:47 -08:00
Mark McCaskey
6e3f835db8 Merge branch 'master' into feature/reference-types 2021-02-10 06:36:36 -08:00
Mark McCaskey
0a17424368 Update wasmparser and core spectests 2021-02-09 11:57:54 -08:00
Mark McCaskey
7b8c5b3554 More work on reference types -- wip 2021-02-09 10:54:26 -08:00
Mark McCaskey
6cfcc92d52 Implement further for compiler-cranelift; add ExternRef 2021-02-08 12:49:15 -08:00
Nick Lewycky
9e1cec01be Prepare for 1.0.2 release 2021-02-04 19:44:49 -08:00
Mark McCaskey
ecf891e0ac Add extra layer of indirection for funcref, update tables
This is still a WIP, cranelift is passing spectests but singlepass has 3
failures and LLVM is not implemented correctly
2021-02-03 07:47:25 -08: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
Simon Warta
82e9c0c18f Fix spelling WASM -> Wasm 2021-01-03 21:59:11 +01: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
271c767785 Replace all usages of to_wasm_error 2020-12-22 09:17:09 +01:00
Mark McCaskey
95b0970b8f Enable clippy linting and fix issues 2020-12-18 11:50:27 -08:00
bors[bot]
8e343633df Merge #1948
1948: doc: Fix links r=Hywan a=Hywan

# Description

Since the `intra-doc-links` feature has been stabilized, we can see more clearly that we have many broken links. This PR is an attempt to fix them!

# Review

- [ ] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Ivan Enderlin <ivan@mnt.io>
2020-12-17 13:35:59 +00:00
Ivan Enderlin
5a08680fc3 Update lib/compiler-cranelift/src/config.rs
Co-authored-by: Julien BIANCHI <contact@jubianchi.Fr>
2020-12-17 14:34:11 +01:00
Ivan Enderlin
78faa4fa25 doc: Fix links.
Since the `intra-doc-links` feature has been stabilized, we can see
more clearly that we have many broken links. This PR is an attempt to
fix them!
2020-12-17 11:24:54 +01:00
Simon Warta
85bb1039f8 Expose wasmer::CraneliftOptLevel
This is required to do something like

```rust
use wasmer::{Cranelift, CraneliftOptLevel};

let mut compiler = Cranelift::default();
compiler.opt_level(CraneliftOptLevel::None);
let engine = JIT::new(compiler).engine();
// ...
```
2020-12-17 10:13:07 +01:00
Mark McCaskey
59df6917d8 Prepare for 1.0.0-beta2 release 2020-12-16 07:41:59 -08:00
Ivan Enderlin
a9947943a2 doc(compiler-cranelift) Fix a typo. 2020-12-14 15:23:34 +01:00
Syrus Akbary
1ee0146954 Fix all compilation issues simplifying the code 2020-12-04 15:58:38 -08:00
Syrus
13e6f29c29 Set compiler config to be owned (following wasm-c-api) 2020-12-04 02:39:19 -08:00
Syrus Akbary
2fac4356a8 Added Cranelift x64 experimental feature flag 2020-12-02 23:02:24 -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
Ivan Enderlin
6eaeeeb60c feat: Use the same version of smallvec everywhere. 2020-11-26 16:56:59 +01:00
losfair
9d8f315d4c Update module info in-place. 2020-11-23 13:42:51 -08:00
Syrus Akbary
a11a4a41b8 Merge branch 'arm64' of github.com:wasmerio/wasmer into arm64 2020-11-20 21:23:17 -08:00
Syrus Akbary
af4993cea6 Updated Cranelift to latest version 2020-11-20 21:23:05 -08:00
losfair
e7dd725c6d Add module info transformation method to ModuleMiddleware. 2020-11-20 14:34:46 -08:00
Ivan Enderlin
49ea2bf530 chore(compiler) Rename ModuleInfoTranslation.module_translation to .module_translation_state.
The idea is to avoid confusion with th e`ModuleInfoTranslation` type itself.
2020-11-17 15:58:25 +01: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
eef543a1bc Fixed code linting 2020-10-29 20:45:06 -07:00
Syrus
9dcc409720 Use matches! macro for legibility 2020-10-29 20:42:41 -07:00
Syrus Akbary
dff27052fa Update lib/compiler-cranelift/src/translator/code_translator.rs
Co-authored-by: nlewycky <nick@wasmer.io>
2020-10-29 20:40:18 -07:00
Syrus
9bd2c47730 Upgraded Cranelift to 0.67 2020-10-29 20:19:16 -07:00
Syrus
c60eab2b6a Upgrade to wasmparser 0.65 2020-10-29 16:48:39 -07:00
Syrus
382394828f Upgrade wasmparser to 0.64 2020-10-29 16:46:20 -07:00
Syrus
68a0ae9615 Upgrade wasmparser to 0.63 2020-10-29 16:43:02 -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
3da4445e59 Update wasmparser to 0.59 2020-10-29 15:17:53 -07:00
Syrus
7da1555284 Remove unused imports 2020-10-28 14:10:02 -07:00
Syrus
73e502ecc5 Remove unused sourceloc 2020-10-28 13:01:18 -07:00
Nick Lewycky
69eef6e490 Enable cranelift on aarch64.
Add comments to tests/ignores.txt explaining why they're disabled.

Add a list of engines to test so that we don't test engine-native on aarch64.

Disable tests in tests/compilers/traps.rs that fail with cranelift on aarch64.

Disable tests in examples/ that use cranelift + native, on aarch64.
2020-10-15 15:25:43 -07:00