(d: &Debuggee, args: Vec<String>)
| 22 | |
| 23 | impl api::exports::bytecodealliance::wasmtime::debugger::Guest for Component { |
| 24 | fn debug(d: &Debuggee, args: Vec<String>) { |
| 25 | match args.get(1).map(|s| s.as_str()) { |
| 26 | Some("simple") => { |
| 27 | test_simple(d); |
| 28 | } |
| 29 | Some("loop") => { |
| 30 | test_loop(d); |
| 31 | } |
| 32 | other => panic!("unknown test mode: {other:?}"), |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | struct Resumption { |
nothing calls this directly
no test coverage detected