Stream: git-wasmtime

Topic: wasmtime / PR #3270 Use `std::alloc::alloc` instead of `l...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 31 2021 at 22:52):

sunfishcode opened PR #3270 from sunfishcode/use-rust-alloc to main:

This makes Cranelift use the Rust alloc API its allocations,
rather than directly calling into libc, which makes it respect
the #[global_allocator] configuration.

Also, use region::page::ceil instead of having our own copies of
that logic.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Sep 01 2021 at 01:51):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 01 2021 at 01:51):

cfallin merged PR #3270.


Last updated: Dec 23 2024 at 12:05 UTC