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)
| 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. |