(&mut self, enable: bool)
| 953 | /// [wasi-threads]: https://github.com/webassembly/wasi-threads |
| 954 | #[cfg(feature = "threads")] |
| 955 | pub fn wasm_threads(&mut self, enable: bool) -> &mut Self { |
| 956 | self.wasm_features(WasmFeatures::THREADS, enable); |
| 957 | self |
| 958 | } |
| 959 | |
| 960 | /// Configures whether the WebAssembly [shared-everything-threads] proposal |
| 961 | /// will be enabled for compilation. |