From a555b8ab7ec6d4f26233ab2b313ddb4ddbcc3457 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Thu, 16 Feb 2023 15:11:45 +0000 Subject: [PATCH] Add fixme --- build_system/rustc_info.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build_system/rustc_info.rs b/build_system/rustc_info.rs index c14b4fdaf33..42cec0c6935 100644 --- a/build_system/rustc_info.rs +++ b/build_system/rustc_info.rs @@ -82,6 +82,7 @@ pub(crate) fn get_default_sysroot(rustc: &Path) -> PathBuf { 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 { let file_name = Command::new(rustc) .stderr(Stdio::inherit())