(deopt: &Deopt)
| 349 | } |
| 350 | |
| 351 | pub fn get_include_lib_headers(deopt: &Deopt) -> Result<Vec<String>> { |
| 352 | let header_trees = get_library_dep_trees(deopt); |
| 353 | let header_strs: Vec<String> = get_independent_headers(header_trees)? |
| 354 | .iter() |
| 355 | .map(|x| x.to_string()) |
| 356 | .collect(); |
| 357 | Ok(header_strs) |
| 358 | } |
| 359 | |
| 360 | pub fn get_include_sys_headers(deopt: &Deopt) -> &'static Vec<String> { |
| 361 | static SYS_HEADERS: OnceCell<Vec<String>> = OnceCell::new(); |