bytecodealliance / bytecodealliance/wasmtime

Pooling-allocator C-api support?

Open
#5,085 2 comments 0 reactions 0 assignees View on GitHub
wasmtime:c-api
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.