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

Method wasm_bulk_memory

crates/wasmtime/src/config.rs:1135–1138  ·  view source on GitHub ↗

Configures whether the [WebAssembly bulk memory operations proposal][proposal] will be enabled for compilation. This feature gates items such as the `memory.copy` instruction, passive data/table segments, etc, being in a module. This is `true` by default. Feature `reference_types`, which is also `true` by default, requires this feature to be enabled. Thus disabling this feature must also disabl

(&mut self, enable: bool)

Source from the content-addressed store, hash-verified

1133 ///
1134 /// [proposal]: https://github.com/webassembly/bulk-memory-operations
1135 pub fn wasm_bulk_memory(&mut self, enable: bool) -> &mut Self {
1136 self.wasm_features(WasmFeatures::BULK_MEMORY, enable);
1137 self
1138 }
1139
1140 /// Configures whether the WebAssembly multi-value [proposal] will
1141 /// be enabled for compilation.

Callers 3

apply_test_configFunction · 0.45
gc_accessFunction · 0.45
newMethod · 0.45

Calls 1

wasm_featuresMethod · 0.80

Tested by

no test coverage detected