Configures whether the [WebAssembly stack switching proposal][proposal] will be enabled for compilation. This feature gates the use of control tags. This feature depends on the `function_reference_types` and `exceptions` features. This feature is `false` by default. # Errors [proposal]: https://github.com/webassembly/stack-switching
(&mut self, enable: bool)
| 1205 | /// |
| 1206 | /// [proposal]: https://github.com/webassembly/stack-switching |
| 1207 | pub fn wasm_stack_switching(&mut self, enable: bool) -> &mut Self { |
| 1208 | self.wasm_features(WasmFeatures::STACK_SWITCHING, enable); |
| 1209 | self |
| 1210 | } |
| 1211 | |
| 1212 | /// Configures whether the WebAssembly component-model [proposal] will |
| 1213 | /// be enabled for compilation. |