Stream: git-wasmtime

Topic: wasmtime / issue #5085 Pooling-allocator C-api support?


view this post on Zulip Wasmtime GitHub notifications bot (Oct 20 2022 at 20:08):

rahulchaphalkar opened issue #5085:

Hi, is there a c-api to enable pooling-allocator ( change InstanceAllocationStrategy)? I checked in wasmtime-c-api but could not find one.
Default instance config seems to be OnDemand so wondering how do i change that to Pooling. I have built with the required feature flags.
https://github.com/bytecodealliance/wasmtime/blob/3e35c8f98a1efb7c2bc0a3234bca3c23a30293a9/crates/wasmtime/src/config.rs#L178

view this post on Zulip Wasmtime GitHub notifications bot (Oct 20 2022 at 21:08):

alexcrichton commented on issue #5085:

At this time this isn't implemented but not for any inherent reason, it should be fine to add API bindings for the Config-related fields here. Would you be interested in sending such a PR?

view this post on Zulip Wasmtime GitHub notifications bot (Oct 20 2022 at 21:08):

alexcrichton labeled issue #5085:

Hi, is there a c-api to enable pooling-allocator ( change InstanceAllocationStrategy)? I checked in wasmtime-c-api but could not find one.
Default instance config seems to be OnDemand so wondering how do i change that to Pooling. I have built with the required feature flags.
https://github.com/bytecodealliance/wasmtime/blob/3e35c8f98a1efb7c2bc0a3234bca3c23a30293a9/crates/wasmtime/src/config.rs#L178

view this post on Zulip Wasmtime GitHub notifications bot (Oct 21 2022 at 16:09):

rahulchaphalkar commented on issue #5085:

Thank you.
I will take a look at the changes that are required.


Last updated: Nov 22 2024 at 16:03 UTC