Cargo Features

dusk-wasmtime-runtime has no features set by default.

[dependencies]
dusk-wasmtime-runtime = { version = "21.0.0-alpha", features = ["async", "pooling-allocator", "component-model", "wmemcheck", "debug-builtins", "gc", "coredump", "threads"] }
async

Enables wasmtime-fiber =20.0.0

Affects gc_runtime::collect_async, pooling::InstanceLimits.total_stacks, allocator::InstanceAllocatorImpl.allocate_fiber_stack, allocator::InstanceAllocatorImpl.deallocate_fiber_stack, vm::commit_stack_pages, vm::reset_stack_pages_to_zero

pooling-allocator

Affects gc_runtime::GcHeap.reset, vm::commit_table_pages, vm::decommit_table_pages, vm::commit_table_pages, vm::decommit_table_pages, vm::commit_table_pages, vm::decommit_table_pages, vm::commit_table_pages, vm::decommit_table_pages, vm::commit_stack_pages, vm::reset_stack_pages_to_zero

component-model

Enables encoding_rs, component-model of dusk-wasmtime-environ

Affects allocator::InstanceAllocatorImpl.validate_component_impl, allocator::InstanceAllocator.validate_component, dusk-wasmtime-runtime::component, dusk-wasmtime-runtime::Store.component_calls

wmemcheck

Enables wasmtime-wmemcheck =20.0.0

debug-builtins

Enables wasmtime-jit-debug =20.0.0

Affects dusk-wasmtime-runtime::debug_builtins

gc

Enables gc of dusk-wasmtime-environ

Affects pooling::InstanceLimits.total_gc_heaps, allocator::InstanceAllocatorImpl.allocate_gc_heap, allocator::InstanceAllocatorImpl.deallocate_gc_heap

coredump

Enables wasm-encoder ^0.202.0

threads

Enables threads of dusk-wasmtime-environ