alexcrichton opened PR #5205 from refactor-pooling-config
to main
:
This commit changes the APIs in the
wasmtime
crate for configuring the pooling allocator. I plan on adding a few more configuration options in the near future and the current structure was feeling unwieldy for adding these new abstractions.The previous
struct
-based API has been replaced with a builder-style API in a similar shape as toConfig
. This is done to help make it easier to add more configuration options in the future through adding more methods as opposed to adding more field which could break prior initializations.<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
alexcrichton requested peterhuene for a review on PR #5205.
pchickey submitted PR review.
alexcrichton updated PR #5205 from refactor-pooling-config
to main
.
alexcrichton has enabled auto merge for PR #5205.
alexcrichton merged PR #5205.
Last updated: Dec 23 2024 at 13:07 UTC