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

Method allow_missed_oom_errors

crates/fuzzing/src/oom.rs:291–294  ·  view source on GitHub ↗

Configure whether to allow a test to pass if it does not return `Err(OutOfMemory)` when a synthetic OOM was injected (perhaps because it is exercising logic that is robust to OOM). The default is `false`.

(&mut self, allow: bool)

Source from the content-addressed store, hash-verified

289 ///
290 /// The default is `false`.
291 pub fn allow_missed_oom_errors(&mut self, allow: bool) -> &mut Self {
292 self.allow_missed_oom_errors = allow;
293 self
294 }
295
296 /// Configure the seed for the RNG used in `fuzz` mode.
297 ///

Callers 2

executeFunction · 0.80

Calls

no outgoing calls

Tested by 1