(&self)
| 284 | /// Returns whether the engine is configured to support execution replaying |
| 285 | #[inline] |
| 286 | pub fn is_replaying(&self) -> bool { |
| 287 | match self.config().rr_config { |
| 288 | #[cfg(feature = "rr")] |
| 289 | RRConfig::Replaying => true, |
| 290 | #[cfg(feature = "rr")] |
| 291 | RRConfig::Recording => false, |
| 292 | RRConfig::None => false, |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | /// Detects whether the bytes provided are a precompiled object produced by |
| 297 | /// Wasmtime. |