about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-02-16 15:11:45 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-05-22 17:17:50 +0000
commita555b8ab7ec6d4f26233ab2b313ddb4ddbcc3457 (patch)
treee3cf57ced6c86fea9b66047d99335ed7a1e5508d
parenta2f720d9fe12a0981a14fd16f84cb8b23c284432 (diff)
downloadrust-a555b8ab7ec6d4f26233ab2b313ddb4ddbcc3457.tar.gz
rust-a555b8ab7ec6d4f26233ab2b313ddb4ddbcc3457.zip
Add fixme
-rw-r--r--build_system/rustc_info.rs1
1 files changed, 1 insertions, 0 deletions
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())