(deopt: &Deopt)
| 113 | |
| 114 | impl Executor { |
| 115 | pub fn new(deopt: &Deopt) -> Result<Self> { |
| 116 | let include_path = &deopt.get_library_build_header_path()?; |
| 117 | |
| 118 | let header_cmd = "-I".to_owned() + include_path.to_str().unwrap(); |
| 119 | check_clang()?; |
| 120 | Ok(Self { |
| 121 | header_cmd, |
| 122 | deopt: deopt.clone(), |
| 123 | }) |
| 124 | } |
| 125 | |
| 126 | fn get_compile_flags(&self, kind: &Compile) -> (Vec<&'static str>, &'static PathBuf) { |
| 127 | let (cflags, lib) = match kind { |
nothing calls this directly
no test coverage detected