1807 Commits

Author SHA1 Message Date
a5ead80dca Bump 0.x packages 2025-03-07 08:55:49 +01:00
a1e1cc86b1 Release 6.0.0-beta.1 2025-03-07 07:11:49 +01:00
fe3b61564c fix: Bump ring 2025-03-06 23:12:41 +01:00
1dd89020b7 feat: enhance WebAssembly feature detection for WebC packages
This commit improves the Wasmer runtime's ability to select the
appropriate engine based on WebAssembly features:

- Add detection of WebAssembly features from WebC packages
- Extract Wasm features from command metadata or binary analysis
- Implement engine selection based on detected features
- Refactor type imports from wasmer_compiler::types to wasmer_types
- Add feature annotation support in package manifests
- Improve error messages in WebC package conversion
- Update webc dependency from 8.0 to 9.0
- General code quality improvements (using first() instead of get(0),
  is_empty() instead of len() == 0)

This enables more intelligent backend selection when running WebC
packages,ensuring the appropriate compiler features are enabled based
on module requirements.

Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
2025-03-06 16:37:11 +01:00
fec4e30c6d feat(types): Move WebAssembly feature detection to types crate
This commit moves the WebAssembly feature detection functionality from
the CLI to the types crate, making it more widely accessible for use
by other parts of the codebase.

Changes:
- Add `detect_from_wasm` method to `Features` struct in
  `lib/types/features.rs`
- Update CLI's `detect_features_from_wasm` to use the new centralized
  method
- Add new WebAssembly feature flags to CLI's `WasmFeatures` struct:
  - tail_call
  - module_linking
  - multi_memory
  - memory64
  - exceptions
- Remove unsupported feature checks (relaxed_simd, extended_const)
- Improve feature detection logic with better validation and error
  handling

This change improves code organization by:
- Centralizing feature detection logic in one place
- Making the feature detection functionality reusable
- Maintaining consistent feature detection across the codebase
- Improving maintainability by reducing code duplication

Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
2025-03-06 14:23:38 +01:00
04f48a4e49 fix: Bump version of yanked crate munge 2025-02-26 08:54:25 +01:00
dbed22cdfd Update lockfile 2025-02-26 08:53:28 +01:00
f2dd202e48 fix: Try locking munge's version 2025-02-26 08:53:28 +01:00
8a37633137 Release 6.0.0-alpha.2 2025-02-26 08:53:28 +01:00
022930ddfc chore: Bump webc version to 8.0.0 2025-02-20 18:08:19 +01:00
77bfe70304 Update 0.x packages 2025-02-18 14:10:40 +01:00
a4382567d0 Release 6.0.0-alpha.1 2025-02-18 13:22:12 +01:00
9700459dd3 fix(compiler+ws): Disable component-model in wasmparser and remove linked piece of code 2025-02-12 15:24:54 +01:00
88405434d1 feat(v8): Update v8 bindings to use latest upstream version of wasm_c_api 2025-02-11 12:51:01 +01:00
974fa2b699 Merge remote-tracking branch 'origin/main' into wasmer-5.1.0 2025-02-11 10:31:49 +01:00
556b24b992 chore: Update openssl dependency due to vulnerability 2025-02-10 15:52:00 +01:00
321fca7d15 feat(llvm): Use workspace-wide object crate 2025-02-05 11:31:08 +01:00
1c3f177205 feat(llvm): Continue implementation of compact_unwind support 2025-02-04 10:33:45 +01:00
456c562e4a Update openssl dep 2025-02-03 12:28:58 +00:00
842da90dff make: cli-compiler: resolve build-docs errors
Fix compilation errors in documentation build by:
- Adding missing LLVM compiler dependency
- Correcting imports in store.rs
- Updating feature flags in cli-compiler

Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
2025-01-30 12:02:40 +01:00
af05e49907 Implement wasmerignore and ignore git-related and hidden files when building packages 2025-01-27 19:44:02 +04:00
01be571553 chore: remove lazy_static dependency, use std instead
Since 1.80, Rust has [std::sync::LazyLock](https://doc.rust-lang.org/std/sync/struct.LazyLock.html), making lazy_static crate no longer needed.
2025-01-20 15:43:40 -05:00
86a9968e9f This PR fixes #5353
Changelog:
* Updated indexmap to 2
* Updated loupe and webc versions (that uses latest indexmap)
* Move indexmap and loupe into workspace dependencies
* Upgraded toml version
2025-01-20 17:58:07 +01:00
bb5b030ef2 Rework cron expression parsing to use saffron 2025-01-20 13:11:34 +04:00
eb3277aa2a Merge remote-tracking branch 'origin/wasmer-5.1.0' into 5201-experimental-add-support-for-exceptions 2025-01-17 13:54:23 +01:00
28b6bc5b9b Merge remote-tracking branch 'origin/main' into wasmer-5.1.0 2025-01-16 10:09:36 +01:00
77e21dad8c feat(compiler): Initial support for GOT-based relocations and compact_unwind tables for Mach-O
(Work in progress) macOS uses a different scheme for exception handling
in Mach-O; in contrast with the "usual" .eh_frame mechanism, Mach-O has
a `compact_unwind` section in which EH-related metadata are embedded.
This commit begins the effort to support it in its entirety. On the path
to that end, it also adds GOT-based relocations, which are necessary for
Mach-O object files.
2025-01-15 12:14:36 +01:00
0507d0293e feat(test): Update wasmparser and update spec tests 2025-01-15 11:46:01 +01:00
a01ead1834 Implement app.yaml job schema 2025-01-11 01:14:00 +04:00
7f23611243 Merge pull request #5323 from wasmerio/fix/close-host-files-properly
Close host files when the last FD referencing them is closed
2025-01-10 18:58:20 +03:30
cbfcfa11dd Prevent dropping open InodeGuard handles too many times, drop all handles when FdList is dropped, add test 2025-01-07 19:04:08 +04:00
6bc2032a8b update 0.x package versions 2025-01-03 16:54:04 +01:00
4d5a913b01 Release 5.0.5-rc1 2025-01-03 16:11:52 +01:00
b8da2e63c9 update 0.x package versions (contd3) 2024-12-17 14:29:37 +01:00
5e6337d767 update 0.x package versions (contd) 2024-12-17 14:23:50 +01:00
76cbdba059 update 0.x package versions 2024-12-17 13:04:55 +01:00
df5c10a7cb fix: Don't use tldextract 2024-12-10 11:47:32 +01:00
e47761a146 update 0.x package versions 2024-12-07 03:38:17 +03:30
39b7a148c8 update hashbrown dep 2024-12-06 17:32:46 +03:30
00a891da19 feat(api): Bump wasmi_c_impl to latest release 2024-12-05 10:16:41 +01:00
251793ec0f implement ruleset logic 2024-12-05 04:00:57 +03:30
8785594d9b fix Cargo.lock 2024-11-27 19:33:33 +01:00
1524c68e3f Merge branch 'main' into 5198-cli-support-wasm_c_api-backends-together-with-native-ones 2024-11-27 19:24:24 +01:00
a6398b3824 deps: Update hyper and rustls deps due to advisory
ID: RUSTSEC-2024-0399
Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0399
2024-11-27 18:21:51 +01:00
dfbcdce727 feat(api): Add wasmi rt 2024-11-25 17:55:06 +01:00
e1ed03654f Merge branch 'main' into 5198-cli-support-wasm_c_api-backends-together-with-native-ones 2024-11-22 18:03:31 +01:00
a6693db20e update 0.x package versions 2024-11-22 18:35:10 +03:30
ed81a837c9 feat(api): Add support for jsc engine 2024-11-21 18:37:05 +01:00
c3680ffd04 Merge branch 'main' into 5198-cli-support-wasm_c_api-backends-together-with-native-ones 2024-11-20 21:28:28 +01:00
94b9a8b164 feat(api): Allow sys, wamr and v8 in a single wasmer build 2024-11-19 17:01:44 +01:00