Commit Graph

39 Commits

Author SHA1 Message Date
ptitSeb
f8c0910c33 Update wasmparser to v0.95 (#3682)
* Update wasmparser to v0.95

* Update lib/compiler/src/translator/module.rs

Co-authored-by: Syrus Akbary <me@syrusakbary.com>

---------

Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2023-03-15 11:15:58 +01:00
Christoph Herzog
ee58d7c2b2 Revert "Update wasmparser to v0.91"
This reverts commit 87232623de.
2023-03-15 01:46:26 +01:00
ptitSeb
87232623de Update wasmparser to v0.91 2023-03-14 20:39:38 +01:00
ptitSeb
3144ef2b3d Enable threads/imports test, but disabling multiple table individual tests as it's not yet supported 2022-11-22 16:01:25 +01:00
Syrus Akbary
4384ddf9cd Improved EngineBuilder and Store API
- Store::new() now takes an impl Into<Engine>.
- Added Into<Engine> impls in each of the compilers
- Updated docs/migration_to_3.0.0.md on API usage
2022-07-28 15:20:26 +03:00
Syrus Akbary
a419ccdf52 Move Webassembly objects to Store and remove Context
Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
Co-authored-by: Manos Pitsidianakis <manos@wasmer.io>
2022-07-19 15:31:51 +03:00
Amanieu d'Antras
9e53e70767 Rework the way the Context is passed into function using it 2022-07-19 15:31:51 +03:00
Manos Pitsidianakis
c9baa6e451 tests/compilers: remove Engine configuration
Since there's only one Engine now.
2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
e9d54e130c Remove engine-dylib 2022-06-16 16:57:45 +03:00
Amanieu d'Antras
683c3688d4 Update spec test workaround for singlepass
This is necessary for singlepass which doesn't support multi-value yet.
2022-04-06 20:48:43 +01:00
Ivan Enderlin
971915a8c1 test(wasi) Run the WASI test suites with the in-memory FS.
This PR updates how we generate the WASI test suites to test against
the `wasmer_vfs::host_fs` (the default), and `wasmer_vfs::mem_fs`
(that's new).
2021-08-31 11:26:14 +02:00
Ivan Enderlin
3d66a2e360 feat: Rename wasmer-engine-native to wasmer-engine-dylib. 2021-05-28 14:13:24 +02:00
Ivan Enderlin
79d5f20301 feat: Rename wasmer-engine-native to wasmer-engine-shared-object. 2021-05-28 14:13:24 +02:00
Syrus
2316c54ebf Fixed issue with features 2021-05-15 21:03:13 -07:00
Syrus Akbary
c2e11d8499 Compiler Test refactor now fully works 2021-05-15 20:34:21 -07:00
Mark McCaskey
20758ea8af Update wasmparser to 0.77 2021-04-29 09:22:14 -07:00
Syrus Akbary
52b62d63d7 Added support for LLVM 11 and improved Apple Silicon 2021-01-11 19:38:15 -08:00
Syrus Akbary
c76bb9824c Remove unused else in wast check 2020-12-06 12:39:15 -08:00
Syrus
13e6f29c29 Set compiler config to be owned (following wasm-c-api) 2020-12-04 02:39:19 -08:00
Syrus
3da4445e59 Update wasmparser to 0.59 2020-10-29 15:17:53 -07:00
Nick Lewycky
8d835485b6 Merge branch 'master' into feature/ignore-on-engine 2020-10-14 16:21:45 -07:00
Nick Lewycky
e025778574 Limit these disables to cranelift, add one test failure with link for llvm. 2020-10-14 16:20:21 -07:00
Nick Lewycky
e6cd0ab8d4 Generalize the one-off code for matching of mismatched assert_trap messages.
Use this to match all the mismatching trap messages in engine-native testing.
2020-10-14 13:39:32 -07:00
Nick Lewycky
c24cb80105 Remove "test-no-traps" cfg! feature from test-generator, use a runtime bool instead.
Rename "test-no-traps" feature to "coverage".

Update .tarpaulin.toml to set coverage and also set test-jit (to fix breakage introduced in PR 1712).
2020-10-14 12:40:05 -07:00
Nick Lewycky
344d082171 cargo fmt 2020-10-12 16:53:01 -07:00
Nick Lewycky
d737ad7d9f Add the ability to run tests with either jit or native.
Don't actually make `make test` run them with native though, it doesn't pass yet.
2020-10-12 16:50:38 -07:00
Nick Lewycky
d4c92c3aaf Restore this function. 2020-10-12 15:45:34 -07:00
Nick Lewycky
331ff2b0d1 Update the commented-out code to run tests with engine-native. 2020-10-12 15:39:51 -07:00
Syrus
1ee8f5b68b SIMD tests passing 2020-08-03 16:24:24 -07:00
Syrus
00ae7f7dde Do nan canonicalization only when necessary 2020-07-29 18:55:01 -07:00
Syrus
dca70d35b0 Enable simd tests 2020-07-29 18:19:25 -07:00
Syrus
59715c12e0 Improved API a bit further 2020-07-23 16:07:30 -07:00
Syrus
462693e35b Simplified code a bit more 2020-07-23 15:45:00 -07:00
Mark McCaskey
e67a3089fc Get WASI tests working 2020-06-22 17:11:02 -07:00
Syrus
5273fa0cae Moved tunables into Store 2020-06-18 12:56:38 -07:00
Syrus
74e4ab0e53 Simplify testing logic 2020-06-18 01:20:26 -07:00
Syrus
a68bcf95ed Separate testing per compiler 2020-06-09 14:33:12 -07:00
Nick Lewycky
14188bed44 Revert "Ignore multi-value errors on LLVM too, for now."
This reverts commit 486dedc601.
2020-06-02 15:44:39 -07:00
Syrus
4cda8a29f7 Moved wast test into compiler tests 2020-05-27 11:55:45 -07:00