Cargo Features

wasmtime-cranelift has no features set by default.

[dependencies]
wasmtime-cranelift = { version = "20.0.0", features = ["all-arch", "host-arch", "component-model", "incremental-cache", "wmemcheck", "gc", "threads"] }
all-arch

Enables all-arch of cranelift-codegen

cranelift-codegen:

Option to enable all architectures.

host-arch

Enables cranelift-codegen

cranelift-codegen:

Enable the ISA target for the host machine

component-model

Enables component-model of wasmtime-environ

incremental-cache

Enables incremental-cache of cranelift-codegen

cranelift-codegen:

Enable the incremental compilation cache for hot-reload use cases.

wmemcheck
gc

Enables gc of wasmtime-environ

threads

Enables threads of wasmtime-environ

wasmtime-cranelift has 7 features without comments.