Type Alias wasmer::BaseTunables

source ·
pub type BaseTunables = BaseTunables;
👎Deprecated: wasmer::BaseTunables is deprecated, use wasmer::sys::BaseTunables instead
Expand description

Tunable parameters for WebAssembly compilation. This is the reference implementation of the Tunables trait, used by default.

Aliased Type§

struct BaseTunables {
    pub static_memory_bound: Pages,
    pub static_memory_offset_guard_size: u64,
    pub dynamic_memory_offset_guard_size: u64,
}

Fields§

§static_memory_bound: Pages

For static heaps, the size in wasm pages of the heap protected by bounds checking.

§static_memory_offset_guard_size: u64

The size in bytes of the offset guard for static heaps.

§dynamic_memory_offset_guard_size: u64

The size in bytes of the offset guard for dynamic heaps.