Insert veneers on arm64 in cranelift-jit where necessary (#12239)* Remove unnecessary methods from JITModule Module impl* Fix range assertion in cranelift-jit Arm64Call reloc handling* Rename e
Insert veneers on arm64 in cranelift-jit where necessary (#12239)* Remove unnecessary methods from JITModule Module impl* Fix range assertion in cranelift-jit Arm64Call reloc handling* Rename exception_data to wasmtime_exception_dataIt is a wasmtime specific format that doesn't match what cranelift-jitcould register with the system unwinder in the future.* Move memory allocation into CompiledBlobIn preparation for inserting veneers on arm64.* Respect addend for Arm64Call relocs* Insert veneers on arm64 in cranelift-jit where necessary* Rename const item
show more ...
cranelift-jit: impl Send for JITModule (#11773)Send was implemented for JITModule in #8718, but this was (likelyintentionally) broken in #10512. This commit implements Send again andadds a test t
cranelift-jit: impl Send for JITModule (#11773)Send was implemented for JITModule in #8718, but this was (likelyintentionally) broken in #10512. This commit implements Send again andadds a test to guard against any future regressions.
Update Wasmtime to the 2024 Rust Edition (#10806)* Update Wasmtime to the 2024 Rust EditionNow that our MSRV supports the 2024 edition it's possible to make thisswitch. This commit moves Wasmtim
Update Wasmtime to the 2024 Rust Edition (#10806)* Update Wasmtime to the 2024 Rust EditionNow that our MSRV supports the 2024 edition it's possible to make thisswitch. This commit moves Wasmtime to the 2024 Edition to keepup-to-date with Rust idioms and access many of the edition featuresexclusive to the 2024 edition.prtest:full* Reformat with the 2024 edition
cranelift-jit: add bump memory allocator, make configurable (#10512)* cranelift-jit: add bump memory allocator, make configurableThis adds a new JIT memory allocator which operates on an address
cranelift-jit: add bump memory allocator, make configurable (#10512)* cranelift-jit: add bump memory allocator, make configurableThis adds a new JIT memory allocator which operates on an address rangethat is reserved up-front. This is useful in order to side-step issueswhere allocation behavior affect relocations, i.e. on x86 where we runinto issues when the system allocator returns memory that is more than4 GiB apart.The main drawback of this allocator option is that the memory range hasto be reserved up-front, so allocation will fail if this space isexhausted.This commit:- adds a 'JITMemoryProvider' trait- moves the previous on-demand allocator to this trait- adds a new 'Arena' allocator* ArenaMemoryProvider: add tests, simplify alignment logic* ArenaMemoryProvider: add asserts* Move pipeline flush back out of `set_readable_and_executable`* Fix aarch64 build* Document Windows overcommit limitation