Cargo Features
[dependencies]
wasmtime_runtime_layer = { version = "27.0.0", default-features = false, features = ["cranelift", "winch"] }
- default = cranelift
-
The
cranelift
feature is set by default wheneverwasmtime_runtime_layer
is added without
somewhere in the dependency tree.default-features = false - cranelift default
-
wasmtime:
An on-by-default feature enabling runtime compilation of WebAssembly modules with the Cranelift compiler. Cranelift is the default compilation backend of Wasmtime. If disabled then WebAssembly modules can only be created from precompiled WebAssembly modules.
- winch
-
wasmtime:
Enables support for Winch, the WebAssembly baseline compiler. The Winch compiler strategy in
Config
will be available. It is currently in active development and shouldn't be used in production applications.
wasmtime_runtime_layer has 3 features without comments.