13 Commits

Author SHA1 Message Date
8af03ffb09 Merge pull request #5138 from wasmerio/v8
Experimental: Add support for v8
2024-10-10 14:54:14 +04:00
6890415c46 Merge branch 'release-5.0' into wasmi 2024-10-10 14:48:24 +04:00
3b06c7b220 feat(api/v8): Initial support for v8 2024-10-07 15:12:34 +04:00
41bd38447b feat(api/interpreter): Add experimental support for wasmi backend 2024-10-03 18:04:05 +02:00
b43144ac11 fix(api/tests): Remove unuseful test 2024-10-03 15:29:17 +02:00
1ee96a2789 fix(api/interpreter): Disable HW bounds checks and minor changes 2024-08-21 17:54:19 +02:00
425c2cbe1b feat(api): Update WAMR
feat(api): Update WAMR
2024-05-27 18:19:45 +02:00
d7fc2899b3 Switch Result<(), anyhow::Error> to Result<(), String>
This will make the tests pass on no-std JS
2022-09-05 13:41:36 +02:00
416dbfa2b8 Remove ExternRef tests on -js target 2022-09-02 16:27:56 +02:00
3a24731985 Use #[universal_test] (PR review) 2022-09-02 16:25:38 +02:00
12a0261051 Unify tests between -sys and -js API 2022-08-31 14:25:46 +02:00
b30284897e feat(api) Merge js-api into api.
This patch takes the entire `wasmer-js` crate and merges it into the
`wasmer` crate.

Inside the `lib/api/src/` directory, there are 2 new directories:

1. a new `sys` directory, which contains the usual `wasmer` crate
   implementation,
2. a new directory `js`, which contains the implementation of
   `wasmer-js`.

The `Cargo.toml` file is still compatible. The `default` feature
fallbacks to `sys-default`, which enables the `sys` feature. All
features related to compilers or engines or anything else prior this
patch, activates the `sys` feature.

Parallel to that, there is a `js-default` and `js` features.

The `Cargo.toml` file is extensively documented to explain what are
dependencies, dev-dependencies, features and other sections related to
`sys` or to `js`.

There is a bug with `wasm_bindgen_test` where it doesn't compile or
look for tests in `tests/*/<test>.rs`. The hack is to name files
`tests/js_<test>.rs`. Ugly, but it works.
2021-07-23 12:10:49 +02:00
7621991a9a test(api) Test that exports work after the instance has been freed. 2020-11-27 10:25:50 +01:00