Cargo Features
wasmtime-environ has no features set by default.
[dependencies]
wasmtime-environ = { version = "25.0.2", features = ["std", "component-model", "demangle", "gc", "compile", "wmemcheck"] }
- std compile? demangle? threads? wmemcheck?
-
Enables std of anyhow, indexmap, object, wasmparser ^0.217.0, and wasmtime-types
object:
======================================= Misc features.
Enable things that require libstd. Currently, this provides an
Error
implementation. - component-model
-
Enables semver and wasmtime-component-util
Affects
compile::Compiler.component_compiler
,wasmtime-environ::component
,wasmtime-environ::fact
… - demangle = std
-
Enables cpp_demangle and rustc-demangle
- gc
- compile = std
-
Enables wasm-encoder ^0.217.0 and wasmprinter ^0.217.0, write of gimli ^0.29.0 and write_core of object
object:
Core write support. You will need to enable some file formats too.
Affects
component::dfg
,wasmtime-environ::fact
… - threads wmemcheck = std