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

Method wasm_multi_value

crates/wasmtime/src/config.rs:1149–1152  ·  view source on GitHub ↗

Configures whether the WebAssembly multi-value [proposal] will be enabled for compilation. This feature gates functions and blocks returning multiple values in a module, for example. This is `true` by default. [proposal]: https://github.com/webassembly/multi-value

(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

1147 ///
1148 /// [proposal]: https://github.com/webassembly/multi-value
1149 pub fn wasm_multi_value(&mut self, enable: bool) -> &mut Self {
1150 self.wasm_features(WasmFeatures::MULTI_VALUE, enable);
1151 self
1152 }
1153
1154 /// Configures whether the WebAssembly multi-memory [proposal] will
1155 /// be enabled for compilation.

Callers 2

newMethod · 0.45
run_wasmFunction · 0.45

Calls 1

wasm_featuresMethod · 0.80

Tested by 1

run_wasmFunction · 0.36