19199 Commits

Author SHA1 Message Date
27183347d8 Merge pull request #5443 from wasmerio/run-500-enable-c_api-backends-to-be-used-in-wasmers-implementation
Enable multiple backends supported by the api crate to be used in the c-api as well
2025-03-12 11:31:07 +01:00
b4dfba4bd1 fix(api): Change v8-specific clang flags for bindgen 2025-03-12 10:50:09 +01:00
a1a05508c2 fix(api): Try adding specific clang flags in bindgen for v8 2025-03-12 10:10:34 +01:00
40168e6f66 Merge pull request #5449 from wasmerio/5444-check-wasmptr-alignment-before-reading-from-it
fix(api): Check if `WasmSliceAccess` ptr is aligned before reading
2025-03-12 10:01:47 +01:00
6c12f61bda Merge pull request #5468 from wasmerio/fix/journal-fixes
Journal fixes to enable PHP+proc_snapshot
2025-03-11 22:45:51 +03:30
759729e0d4 One more lint... 2025-03-11 22:20:08 +04:00
662a4698d5 fix(api): Try adding specific clang flags in bindgen for v8 for imports 2025-03-11 18:38:05 +01:00
3ea5a7eb93 fix(api): Run test on issue_5444 on sys only 2025-03-11 18:22:58 +01:00
cce90e8f39 Update app.yaml schema with instaboot mode and async_threads setting 2025-03-11 21:16:47 +04:00
28a80cc111 chore: Make linter happy 2025-03-11 18:16:36 +01:00
b7cd7a4a38 fix(api): Correctly check and detect unaligned pointer accesses in WasmSliceAccess 2025-03-11 18:16:15 +01:00
2f42e6e800 ci: Disable c-api+v8 tests on linux 2025-03-11 16:48:05 +01:00
be78dca2b1 Small journal logic + lint fixes 2025-03-11 18:26:56 +04:00
ec74f14893 fix(c_api): Fix headless compilation 2025-03-11 13:35:21 +01:00
3d82cb2a83 chore: Make linter happy 2025-03-11 13:10:01 +01:00
ebfe28f17c chore: Make linter happy 2025-03-11 13:06:05 +01:00
a70fbe8356 fix(c_api): Rename wasmer_engine_config_* to wasmer_backend_config_*
.. and move target/middleware functions to top level, out of the
implicit `sys` namespace.
2025-03-11 13:05:44 +01:00
5c5ffa780d fix(c_api): Remove feature-gate for target_lexicon mod 2025-03-11 13:04:56 +01:00
632d73e67f fix(c_api): Re-export target types from wasmer_types 2025-03-11 13:04:40 +01:00
e357770e42 feat(ci): Add test for C-API with v8 2025-03-11 13:04:14 +01:00
aef9b158a5 fix(c_api): compiler_headless entails sys. 2025-03-10 17:23:04 +01:00
a081049d7c fix(c_api): Add explicit match on LLVM, Cranelift and Singlepass BackendKind variants 2025-03-10 17:03:14 +01:00
145a804db1 chore: Make linter happy 2025-03-10 16:28:57 +01:00
6fe4229e08 fix(api/wamr): Use default instantiation mechanism for wamr 2025-03-10 16:26:11 +01:00
933095e65c fix(api/build/wamr): Don't re-download if dir is already there 2025-03-10 16:25:49 +01:00
4a877b76ae fix(api): Use Cranelift, Singlepass, LLVM and Headless in BackendKind::default() 2025-03-10 15:30:04 +01:00
3a9958359c fix(api): Don't use backend kind to drive BackendEngine::default() 2025-03-10 15:29:41 +01:00
32304e98b8 fix(wasmi): Implement missing checks when instantiating memory 2025-03-10 15:29:13 +01:00
6d97d1cfd5 fix(wamr): Implement missing checks when instantiating memory 2025-03-10 15:29:01 +01:00
8a475c322d fix(wamr): Implement validate 2025-03-10 15:28:42 +01:00
50e0b295d7 fix(wamr): Bump and lock to stable version of WAMR 2025-03-10 15:27:26 +01:00
950691132b fix(wamr): Fix missing checks in Instance::imports() 2025-03-10 15:27:02 +01:00
84179223ed fix(v8): Correct math error in Module::deserialize 2025-03-10 15:26:27 +01:00
f75f5b7737 fix(v8): Add proper checks when creating memory 2025-03-10 15:24:57 +01:00
a5af0967e7 Merge pull request #5470 from wasmerio/fix-crates-build
fix(swift): Don't use default features in `wasix`, use the `sys` feature only
2025-03-10 04:07:11 -07:00
bb67eaff48 fix: Explicitly allow "paste - no longer maintained" advisory in cargo-deny 2025-03-10 10:37:54 +00:00
3a22e7969c cli: add a log message about what backend are we running with
Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
2025-03-10 10:37:54 +00:00
2079b08195 Use engine-specific default features
Uses the engine's default features for backend instead of generic
default features.

Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
2025-03-10 10:37:54 +00:00
af313b308a fix(v8): Fix missing null checks in imports() 2025-03-10 10:49:59 +01:00
d295ff996e Merge pull request #5471 from wasmerio/fix-paste-advisory
fix: Explicitly allow "paste - no longer maintained" advisory in `cargo-deny`
2025-03-10 02:49:39 -07:00
8dcd49c07f fix: Explicitly allow "paste - no longer maintained" advisory in cargo-deny 2025-03-10 10:01:19 +01:00
ab2d90c10e Merge pull request #5469 from wasmerio/default-features
Use engine-specific default features
2025-03-10 09:39:50 +01:00
6952e98de5 cli: add a log message about what backend are we running with
Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
2025-03-07 17:26:55 +01:00
11e45c24ee fix(swift): Don't use default features in wasix, use the sys feature only 2025-03-07 17:20:37 +01:00
e6d9d0913e Use engine-specific default features
Uses the engine's default features for backend instead of generic
default features.

Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
2025-03-07 17:07:28 +01:00
475f335cb5 Merge pull request #5467 from wasmerio/fix-crates-build
fix(journal): Use `sys-default` feature from `wasmer`
2025-03-07 06:41:58 -08:00
7446c20dba Fix compacting stdio FDs and fd duplication/renumbering 2025-03-07 17:44:38 +04:00
02376a274d fix(journal): Use sys-default feature from wasmer 2025-03-07 14:31:58 +01:00
ba2c0f6205 Merge pull request #5466 from wasmerio/fix-crates-build
Fix feature flags to build packages when publishing crates
2025-03-07 05:11:52 -08:00
e27d989473 fix: Use sys-default feature instead of sys when building crates 2025-03-07 13:38:21 +01:00