()
| 59 | } |
| 60 | |
| 61 | pub fn get_all_executors() -> Vec<Box<dyn Executor>> { |
| 62 | #[cfg_attr(not(target_os = "linux"), allow(unused_mut))] |
| 63 | let mut executors: Vec<Box<dyn Executor>> = vec![ |
| 64 | Box::new(ValgrindExecutor), |
| 65 | Box::new(WallTimeExecutor::new(None)), |
| 66 | ]; |
| 67 | #[cfg(target_os = "linux")] |
| 68 | executors.push(Box::new(MemoryExecutor)); |
| 69 | executors |
| 70 | } |
| 71 | |
| 72 | /// Installation status of a tool required by an executor. |
| 73 | pub struct ToolStatus { |
no outgoing calls
no test coverage detected