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)
| 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. |
no test coverage detected