|
Wasmtime
|
Configuration for Wasmtime. More...
#include <config.hh>
Public Member Functions | |
| template<typename T > | |
| void | host_memory_creator (T creator) |
| Configures a custom memory creator for this configuration and eventual Engine. More... | |
| void | pooling_allocation_strategy (const PoolAllocationConfig &config) |
| Enables and configures the pooling allocation strategy. More... | |
Configuration for Wasmtime.
This class is used to configure Wasmtime's compilation and various other settings such as enabled WebAssembly proposals.
For more information be sure to consult the rust documentation.
|
inline |
Configures a custom memory creator for this configuration and eventual Engine.
This can be used to use creator to allocate linear memories for the engine that this configuration will be used for.
|
inline |
Enables and configures the pooling allocation strategy.
https://docs.wasmtime.dev/api/wasmtime/struct.Config.html#method.allocation_strategy