Configures whether the WebAssembly SIMD proposal will be enabled for compilation. The [WebAssembly SIMD proposal][proposal]. This feature gates items such as the `v128` type and all of its operators being in a module. Note that this does not enable the [relaxed simd proposal]. Note On x86_64 platforms the base CPU feature requirement for SIMD is SSE2 for the Cranelift compiler and AVX for the W
(&mut self, enable: bool)
| 1062 | /// [proposal]: https://github.com/webassembly/simd |
| 1063 | /// [relaxed simd proposal]: https://github.com/WebAssembly/relaxed-simd |
| 1064 | pub fn wasm_simd(&mut self, enable: bool) -> &mut Self { |
| 1065 | self.wasm_features(WasmFeatures::SIMD, enable); |
| 1066 | self |
| 1067 | } |
| 1068 | |
| 1069 | /// Configures whether the WebAssembly Relaxed SIMD proposal will be |
| 1070 | /// enabled for compilation. |
no test coverage detected