ptitSeb
1387363a7b
Fix/compile not in memory ( #3573 )
...
* Example of allocated artifact
* Better error when Instancing fail because of OS/Arch issue
* Add missing brnach for new error
---------
Co-authored-by: Syrus Akbary <me@syrusakbary.com >
2023-02-06 10:28:39 +01:00
Christoph Herzog
5109a407c4
WASIX Preparation
...
This commit extracts changes to core libraries made in the WASIX branch.
It is not reasonable to extract the partial commit history, so this is
just a batch commit.
The history will make a bit more sense again if we decide to merge the
WASIX branch with full commit history.
2022-12-16 11:47:04 +01:00
Michael-F-Bryan
3a092cf6f9
Make "make lint" pass for Rust 1.63
2022-11-18 00:43:54 +08:00
Wolfgang Silbermayr
89bba319a9
No longer require FunctionEnvMut for new_typed(…) callback function
2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
566c897e57
Remove FunctionEnvMut for Function::new(…)
2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
7df3e3ca23
Rename {native,typed} functions, reintroduce *_with_env variants
2022-08-05 14:27:44 +02: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
ptitSeb
267a09ce8e
Migrate compiler tests to the new Context API
2022-07-19 15:31:51 +03:00
Amanieu d'Antras
3d52bf2f8f
Don't try generating a backtrace on stack overflow
2022-03-14 22:14:22 +00:00
Amanieu d'Antras
a603c33def
Validate that CPU features are supported when instantiating a module
2021-11-23 15:21:34 +00:00
Syrus
892fd1f053
Fixed tests
2021-05-16 11:36:58 -07:00
Syrus Akbary
27467048d9
Reenabled missing tests
2021-05-15 21:31:30 -07:00
Syrus Akbary
c2e11d8499
Compiler Test refactor now fully works
2021-05-15 20:34:21 -07:00
jubianchi
5962d3fd4c
chore: Fix errors to be able to build on musl
...
Closes #1482
Closes #1766
2021-01-27 21:05:15 +01:00
Mark McCaskey
4ef3286f2e
Merge branch 'master' into feature/host-env-prototype
2020-11-30 16:52:34 -08:00
Syrus Akbary
47c958dc43
Improved Native support
2020-11-19 20:31:26 -08:00
Mark McCaskey
83008a7771
Fix up error handling code, get tests passing
2020-10-29 11:13:51 -07:00
Syrus Akbary
00c931051c
Merge branch 'master' into feature/trampoline-in-artifact
2020-10-19 15:11:51 -07:00
Nick Lewycky
259c928c25
Thread canonicalize_nans through these utils functions and into the callers.
2020-10-16 17:01:40 -07:00
Nick Lewycky
ff15be3a75
Un-ignore these fixed tests.
2020-10-15 17:05:21 -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
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
nlewycky
1f08f66ba6
Update tests/compilers/traps.rs
...
Ignore the test instead of skipping it.
Co-authored-by: Syrus Akbary <me@syrusakbary.com >
2020-10-14 12:58:03 -07:00
Nick Lewycky
773ab17a85
Add support for "on native" and "on jit" to the ignores.txt.
...
Extend test-no-traps feature to cover tests/compiler/traps.rs and enable it
when testing with the native engine.
Turn on testing native engine as part of make test.
2020-10-14 01:01:49 -07:00
Syrus
a732159514
Use better naming for module functions
2020-07-26 12:02:45 -07:00
Syrus
59715c12e0
Improved API a bit further
2020-07-23 16:07:30 -07:00
Syrus
b06f021612
Improved Function API
2020-07-21 20:02:01 -07:00
Nick Lewycky
21827d8f80
These three tests rely on sourcemap information too, which we aren't adding in this branch.
2020-06-18 15:35:39 -07:00
Nick Lewycky
69ccd86b4a
Enable the tests that are failing and will be fixed on this branch.
2020-06-18 15:34:23 -07:00
Syrus
1199dc179b
Fixed issues
2020-06-09 15:15:36 -07:00
Syrus
a68bcf95ed
Separate testing per compiler
2020-06-09 14:33:12 -07:00
Syrus
b57bbb1256
Added traps tests
2020-06-08 19:13:13 -07:00