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

Method wasm_multi_memory

crates/wasmtime/src/config.rs:1163–1166  ·  view source on GitHub ↗

Configures whether the WebAssembly multi-memory [proposal] will be enabled for compilation. This feature gates modules having more than one linear memory declaration or import. This is `true` by default. [proposal]: https://github.com/webassembly/multi-memory

(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

1161 ///
1162 /// [proposal]: https://github.com/webassembly/multi-memory
1163 pub fn wasm_multi_memory(&mut self, enable: bool) -> &mut Self {
1164 self.wasm_features(WasmFeatures::MULTI_MEMORY, enable);
1165 self
1166 }
1167
1168 /// Configures whether the WebAssembly memory64 [proposal] will
1169 /// be enabled for compilation.

Callers 10

memory_limitFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
apply_test_configFunction · 0.45
storeFunction · 0.45
newMethod · 0.45
run_wasmFunction · 0.45

Calls 1

wasm_featuresMethod · 0.80