(&mut self)
| 125 | |
| 126 | impl Drop for VmGuard { |
| 127 | fn drop(&mut self) { |
| 128 | with_runtime(|rt| rt.current_vm = None); |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | pub(super) fn with_vm<R>(f: impl FnOnce(&mut VM<'static>) -> R) -> Option<R> { |
nothing calls this directly
no test coverage detected