Add fixme

This commit is contained in:
bjorn3 2023-02-16 15:11:45 +00:00
parent a2f720d9fe
commit a555b8ab7e

View File

@ -82,6 +82,7 @@ pub(crate) fn get_default_sysroot(rustc: &Path) -> PathBuf {
Path::new(String::from_utf8(default_sysroot).unwrap().trim()).to_owned() Path::new(String::from_utf8(default_sysroot).unwrap().trim()).to_owned()
} }
// FIXME call once for each target and pass result around in struct
pub(crate) fn get_file_name(rustc: &Path, crate_name: &str, crate_type: &str) -> String { pub(crate) fn get_file_name(rustc: &Path, crate_name: &str, crate_type: &str) -> String {
let file_name = Command::new(rustc) let file_name = Command::new(rustc)
.stderr(Stdio::inherit()) .stderr(Stdio::inherit())