Cargo Features
wasmtime-environ has no features set by default.
[dependencies]
wasmtime-environ = { version = "21.0.1", features = ["std", "component-model", "demangle", "gc", "compile", "wmemcheck"] }
- std compile? demangle? threads? wmemcheck?
-
Enables std of anyhow, indexmap, object ^0.33, wasmparser ^0.207.0, and wasmtime-types
object:
======================================= Misc features.
Enable things that require libstd. Currently, this provides an
Error
implementation. - component-model
-
Enables 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.207.0 and wasmprinter ^0.207.0, write of gimli ^0.28.0 and write_core of object ^0.33
object:
Core write support. You will need to enable some file formats too.
Affects
component::dfg
,wasmtime-environ::fact
… - threads wmemcheck = std