Commit Graph

242 Commits

Author SHA1 Message Date
Mark McCaskey
ef60f08740 Merge branch 'master' into feature/reference-types 2021-03-23 09:42:34 -07:00
Ivan Enderlin
03486f3b8a feat: Use latest version of loupe. 2021-03-23 13:04:45 +01:00
Ivan Enderlin
44dc884260 feat: Start implementing loupe::MemoryUsage on wasmer::Module. 2021-03-23 13:04:45 +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
Mark McCaskey
c461a14329 Revert PR 2183
`PrimaryMap`s won't help us do what we wanted anyways and the change broke logic
that wasn't tested before reference types.
2021-03-16 12:28:11 -07:00
Mark McCaskey
2a541e072b Merge branch 'master' into feature/reference-types 2021-03-16 12:28:05 -07:00
Syrus Akbary
0270058a30 Fixed lint issues 2021-03-12 16:33:51 +01:00
Syrus Akbary
837c1c18c1 Passive elements and data are now PrimaryMaps 2021-03-12 04:26:50 +01:00
Mark McCaskey
1d3ee22991 Get spectests passing with compiler-cranelift with hacks 2021-02-10 11:20:47 -08:00
Mark McCaskey
0a17424368 Update wasmparser and core spectests 2021-02-09 11:57:54 -08:00
Nick Lewycky
9e1cec01be Prepare for 1.0.2 release 2021-02-04 19:44:49 -08:00
Syrus Akbary
484abccab3 Remove dependency on raw-cpuid in favor of is_x86_feature_detected 2021-01-27 23:17:47 -08:00
Nick Lewycky
91d399e8f4 Apply cleanups proposed by clippy. 2021-01-26 16:02:22 -08:00
dependabot[bot]
57409e9262 Bump raw-cpuid from 7.0.3 to 9.0.0
Bumps [raw-cpuid](https://github.com/gz/rust-cpuid) from 7.0.3 to 9.0.0.
- [Release notes](https://github.com/gz/rust-cpuid/releases)
- [Commits](https://github.com/gz/rust-cpuid/compare/7.0.3...9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-26 02:14:44 +00:00
Noah
cadcdf91d6 Depend on enumset instead of wasmer_enumset 2021-01-25 17:05:00 -06:00
Mark McCaskey
924ffd8797 Prepare for 1.0.1 release 2021-01-12 08:08:19 -08:00
Mark McCaskey
1e54244648 Use fork of enumset to fix syn issue 2021-01-11 14:29:09 -08:00
Mark McCaskey
3654cb17a5 Fix RUSTSEC-2021-0003 2021-01-11 12:51:07 -08:00
Mark McCaskey
bc73789cc0 Prepare for 1.0.0 release 2021-01-05 06:21:03 -08:00
Mark McCaskey
2d1c03bea0 Prepare for 1.0.0-rc1 release 2020-12-23 11:17:07 -08:00
Simon Warta
df74a4812c Create dedicated MiddlewareError 2020-12-23 00:07:00 +01:00
Simon Warta
c41451a547 Replace wasmparser::Result with wasmer::WasmResult in middleware 2020-12-23 00:07:00 +01:00
Simon Warta
2f0e37d5e6 Implement From<WasmError> for CompileError without std 2020-12-22 10:01:17 +01:00
Simon Warta
57c2c460c5 Implement From<BinaryReaderError> for CompileError 2020-12-22 10:00:02 +01:00
Simon Warta
bb5c4cd704 Remove to_wasm_error 2020-12-22 09:17:09 +01:00
Simon Warta
271c767785 Replace all usages of to_wasm_error 2020-12-22 09:17:09 +01:00
Simon Warta
9da5f5b5d0 Deprecate to_wasm_error 2020-12-22 09:17:03 +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
Mark McCaskey
59df6917d8 Prepare for 1.0.0-beta2 release 2020-12-16 07:41:59 -08:00
Simon Warta
2a374f8d05 Allow constructing V128 from byte array 2020-12-09 21:16:22 +01:00
Simon Warta
249b955d71 Add CompileError::UnsupportedTarget error 2020-12-07 11:20:04 +01:00
Syrus Akbary
b8eb7f9b59 Fix lint 2020-12-04 16:01:05 -08:00
Syrus Akbary
1ee0146954 Fix all compilation issues simplifying the code 2020-12-04 15:58:38 -08:00
Syrus Akbary
601294dfaf Fix lint 2020-12-04 15:48:21 -08:00
Syrus Akbary
c3d1ce8040 Fix compilation issue 2020-12-04 15:45:01 -08:00
Syrus
13e6f29c29 Set compiler config to be owned (following wasm-c-api) 2020-12-04 02:39:19 -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
Nick Lewycky
32b3daeace Add a variant of Extend that works on borrowed arrays. 2020-11-23 16:32:09 -08:00
Nick Lewycky
8ca3693a56 Add support for middleware to experimental_native_compile_module and make it work on compiler-llvm. 2020-11-23 13:56:17 -08:00
Syrus
89762a6d77 Short-circuit read_operator for empty chains 2020-11-23 13:44:22 -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
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
b123f92f56 Simplified local_decl 2020-10-29 20:19:37 -07:00