644 Commits

Author SHA1 Message Date
a1e1cc86b1 Release 6.0.0-beta.1 2025-03-07 07:11:49 +01:00
d90c0982b4 fix(compiler): Import wasmer_types::target::Target regardlessly of target_arch 2025-03-06 17:46:43 +01:00
8cfc6a82fd fix(compiler): Fix Triple imports 2025-03-06 16:38:58 +01:00
78eca7958d Move target back into wasmer_types 2025-03-06 11:09:51 +01:00
2d70299635 Improved support for Backends 2025-03-05 21:56:54 +01:00
8a37633137 Release 6.0.0-alpha.2 2025-02-26 08:53:28 +01:00
b1e1974de6 Update "Build Status" in READMEs 2025-02-24 17:45:06 +01:00
13cd018822 fix(compiler): Fix assertion guard 2025-02-19 18:11:04 +01:00
5cd3809b9a chore: Make linter happy 2025-02-19 17:54:26 +01:00
3663d30cb8 fix(llvm): Set default code_model and reloc_mode for Mach-O targets 2025-02-19 17:48:53 +01:00
a4382567d0 Release 6.0.0-alpha.1 2025-02-18 13:22:12 +01:00
a430e36900 chore: Make linter happy 2025-02-13 15:42:54 +01:00
2c6b0d20b2 chore: Add a couple comments and minor changes 2025-02-13 15:34:38 +01:00
3bfe1ea5d7 chore: Remove leftover prints and dbgs 2025-02-13 15:24:56 +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
974fa2b699 Merge remote-tracking branch 'origin/main' into wasmer-5.1.0 2025-02-11 10:31:49 +01:00
f6f14efc42 fix(compiler+win): Error out only if compact_unwind is actually there 2025-02-10 17:25:03 +01:00
fa9806c03b fix(compiler+win): Add register_compact_unwind stub 2025-02-10 16:53:48 +01:00
a5cc1474e3 fix(compiler): Pass eh_info section from allocated
...instead of passing the custom section embedded in the artifact
itself; this causes a segmentation fault in libunwind.
2025-02-10 12:14:17 +01:00
8b2a5974ca fix(compiler): Remove parameter in BinaryReader 2025-02-07 14:07:03 +01:00
666a1f2fad chore: Make linter happy 2025-02-07 12:44:36 +01:00
b47946e840 chore: Make linter happy 2025-02-07 11:20:21 +01:00
eef2f3bc90 feat(llvm): Fix GOT relocations and addend fixups 2025-02-07 11:05:03 +01:00
2aac824703 feat(llvm): Fix computation of second level page offsets 2025-02-05 11:32:04 +01:00
1c3f177205 feat(llvm): Continue implementation of compact_unwind support 2025-02-04 10:33:45 +01:00
c3c3f9dd88 feat(llvm): Continue implementation of compact_unwind support 2025-01-25 15:25:38 +01:00
4c2400bb63 Merge pull request #5363 from nyurik/fixes
chore: fix all warnings
2025-01-24 09:49:55 +01:00
7e789c891c chore: fix all warnings
This fixes all compiler warnings. Note that `__cbindgen_hack__ = "yes"` is a bit weird - there is no need to make it support a value -- presence of a keyword is an indicator enough. Also, I couldn't figure out what actually sets that value.
2025-01-23 02:51:11 -05:00
f123f69892 chore: inline format args to improve readability
Using this command, fixed format argument inlining to improve readability, and fix a few minor related styling issues like trailing commas in a single line.

```
cargo clippy --all-targets --workspace --exclude wasmer-cli --exclude wasmer-swift -- -D clippy::uninlined_format_args
```
2025-01-22 12:53:01 -05: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
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
19d21ff831 chore: Make linter happy 2025-01-15 15:15:54 +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
af760f5eeb feat(api+vm+types+artifacts): Add EH-related types Tag and ExnRef 2025-01-15 12:00:20 +01:00
4d5a913b01 Release 5.0.5-rc1 2025-01-03 16:11:52 +01:00
4ca260af3f Release 5.0.4 2024-12-17 12:36:40 +01:00
d266446af3 LoongArch: Switch to the medium code model 2024-12-10 09:54:53 +08:00
ea13dd86b8 Release 5.0.3 2024-12-07 00:30:08 +03:30
0bca35344d Release 5.0.2 2024-11-22 17:58:38 +03:30
8fd92de5c7 Merge remote-tracking branch 'origin' into 5223-fix-failing-modules-with-llvm 2024-11-07 15:38:45 +01:00
ce94b8ffae fix(llvm): Fix ADD_ABS_LO12_NC relocation 2024-11-07 15:38:06 +01:00
8e85068572 fix: Use types from wasmer_types 2024-11-07 09:26:19 +01:00
eeed74ea30 chore: Make linter happy 2024-11-06 18:31:22 +01:00
86c766746d fix(compiler/windows): Remove wasmer_types import 2024-11-06 18:13:25 +01:00
7cd409380f Merge branch 'main' into 5213-move-compilation-types-inside-of-wasmer-compiler 2024-11-06 17:32:17 +01:00
f2391414c8 chore: Make linter happy 2024-11-06 17:23:35 +01:00
84b8ced6dd chore: Fix tests 2024-11-06 17:23:27 +01:00
cf2d30940b feat: Move "compilation" types from wasmer_types to wasmer_compiler 2024-11-06 16:42:06 +01:00
83680c5e5d Release 5.0.1 2024-11-06 12:26:18 +03:30