(func: F)
| 41 | } |
| 42 | |
| 43 | fn with_runtime<F>(func: F) |
| 44 | where |
| 45 | F: FnOnce(&Runtime), |
| 46 | { |
| 47 | let runtime = start_runtime(); |
| 48 | |
| 49 | func(&runtime); |
| 50 | } |
| 51 | |
| 52 | pub(crate) fn module_path(name: &str) -> PathBuf { |
| 53 | let root = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")); |
no test coverage detected
searching dependent graphs…