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

Function gc_ops_eventually_gcs

crates/fuzzing/src/oracles.rs:1261–1276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1259 // again.
1260 #[test]
1261 fn gc_ops_eventually_gcs() {
1262 // Skip if we're under emulation because some fuzz configurations will do
1263 // large address space reservations that QEMU doesn't handle well.
1264 if std::env::var("WASMTIME_TEST_NO_HOG_MEMORY").is_ok() {
1265 return;
1266 }
1267
1268 let ok = gen_until_pass(|(config, test), _| {
1269 let result = gc_ops(config, test)?;
1270 Ok(result > 0)
1271 });
1272
1273 if !ok {
1274 panic!("gc was never found");
1275 }
1276 }
1277
1278 #[test]
1279 fn module_generation_uses_expected_proposals() {

Callers

nothing calls this directly

Calls 4

gen_until_passFunction · 0.85
gc_opsFunction · 0.85
OkFunction · 0.85
is_okMethod · 0.80

Tested by

no test coverage detected