Cargo Features
[dependencies]
substrate-wasmtime = { version = "0.19.0", default-features = false, features = ["lightbeam", "jitdump", "vtune", "parallel-compilation", "wat"] }
- default = jitdump, parallel-compilation, wat
-
These default features are set whenever
substrate-wasmtime
is added without
somewhere in the dependency tree.default-features = false - lightbeam
-
Enables experimental support for the lightbeam codegen backend, an alternative to cranelift. Requires Nightly Rust currently, and this is not enabled by default.
Enables lightbeam of wasmtime-jit ^0.19.0
- jitdump default
-
Enables support for the
perf
jitdump profilerEnables jitdump of wasmtime-jit ^0.19.0
- vtune
-
Enables support for the
VTune
profilerEnables vtune of wasmtime-jit ^0.19.0
- parallel-compilation default
-
Enables parallel compilation of WebAssembly code
Enables parallel-compilation of wasmtime-environ ^0.19.0
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- wat default