(res: RuntimeResult<T>)
| 6 | |
| 7 | #[with_ghost_var(trace: &mut Trace)] |
| 8 | pub fn wasm2c_marshal<T>(res: RuntimeResult<T>) -> u32 { |
| 9 | match res { |
| 10 | Ok(r) => 0, |
| 11 | Err(err) => err.into(), |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | #[with_ghost_var(trace: &mut Trace)] |
| 16 | #[requires(ctx_safe(ctx))] |
no outgoing calls
no test coverage detected