MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / wasm_component_model

Method wasm_component_model

crates/wasmtime/src/config.rs:1226–1229  ·  view source on GitHub ↗
(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

1224 /// [proposal]: https://github.com/webassembly/component-model
1225 #[cfg(feature = "component-model")]
1226 pub fn wasm_component_model(&mut self, enable: bool) -> &mut Self {
1227 self.wasm_features(WasmFeatures::COMPONENT_MODEL, enable);
1228 self
1229 }
1230
1231 /// Configures whether components support the async ABI [proposal] for
1232 /// lifting and lowering functions, as well as `stream`, `future`, and

Calls 1

wasm_featuresMethod · 0.80