| 1419 | /// Panics if this configuration's compiler was [disabled][Config::enable_compiler]. |
| 1420 | #[cfg(any(feature = "cranelift", feature = "winch"))] |
| 1421 | pub fn cranelift_debug_verifier(&mut self, enable: bool) -> &mut Self { |
| 1422 | let val = if enable { "true" } else { "false" }; |
| 1423 | self.compiler_config_mut() |
| 1424 | .settings |
| 1425 | .insert("enable_verifier".to_string(), val.to_string()); |
| 1426 | self |
| 1427 | } |
| 1428 | |
| 1429 | /// Configures whether extra debug checks are inserted into |
| 1430 | /// Wasmtime-generated code by Cranelift. |