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

Function recurse_trap

tests/all/component_model/func.rs:3005–3011  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3003
3004#[test]
3005fn recurse_trap() -> Result<()> {
3006 let error = test_recurse(RecurseKind::AThenA).unwrap_err();
3007
3008 assert_eq!(error.downcast::<Trap>()?, Trap::CannotEnterComponent);
3009
3010 Ok(())
3011}
3012
3013#[test]
3014fn recurse_more_trap() -> Result<()> {

Callers

nothing calls this directly

Calls 2

test_recurseFunction · 0.85
OkFunction · 0.85

Tested by

no test coverage detected