Cargo Features
wasmtime-environ has no features set by default.
[dependencies]
wasmtime-environ = { version = "32.0.0", features = ["std", "component-model", "demangle", "gc", "gc-drc", "gc-null", "compile", "wmemcheck"] }
- std compile? demangle? threads? wmemcheck?
-
Enables std of anyhow, indexmap, object, and wasmparser ^0.228.0
object:
Fix a test parsing ELF files internally where the bytes themselves reside in a
Vec<u8>
with no alignment requirements on it. By enabling theunaligned
feature we don't require anything to be aligned so it doesn't matter the alignment of the bytes that we're reading. - component-model
-
Enables semver, wasmtime-component-util and component-model of wasmparser ^0.228.0
wasmparser:
A feature that enables parsing and validating the component-model proposal for WebAssembly. This is enabled by default but if your use case is only interested in working with core modules then this feature can be disabled.
Affects
compile::Compiler.component_compiler
,wasmtime-environ::component
,wasmtime-environ::fact
… - demangle = std
-
Enables cpp_demangle and rustc-demangle
- gc gc-drc? gc-null?
- gc-drc = gc
-
Affects
gc::drc
… - gc-null = gc
-
Affects
gc::null
… - compile = std
-
Enables wasm-encoder ^0.228.0 and wasmprinter ^0.228.0, write of gimli, write_core of object
Affects
component::dfg
,wasmtime-environ::fact
… - threads wmemcheck = std