MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / is_recording

Method is_recording

crates/wasmtime/src/engine.rs:274–282  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

272 /// Returns whether the engine is configured to support execution recording
273 #[inline]
274 pub fn is_recording(&self) -> bool {
275 match self.config().rr_config {
276 #[cfg(feature = "rr")]
277 RRConfig::Recording => true,
278 #[cfg(feature = "rr")]
279 RRConfig::Replaying => false,
280 RRConfig::None => false,
281 }
282 }
283
284 /// Returns whether the engine is configured to support execution replaying
285 #[inline]

Callers

nothing calls this directly

Calls 1

configMethod · 0.45

Tested by

no test coverage detected