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

Method wasm_component_model_map

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

Source from the content-addressed store, hash-verified

1314 /// `map<k, v>` type in WIT and the component binary format.
1315 #[cfg(feature = "component-model")]
1316 pub fn wasm_component_model_map(&mut self, enable: bool) -> &mut Self {
1317 self.wasm_features(WasmFeatures::CM_MAP, enable);
1318 self
1319 }
1320
1321 /// This corresponds to the 🔧 emoji in the component model specification.
1322 ///

Calls 1

wasm_featuresMethod · 0.80