Skip to content

Commit d262780

Browse files
committed
Add fixmes
1 parent 7edd314 commit d262780

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build_system/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ fn main() {
185185
env::set_var("RUSTDOC", "rustdoc_should_be_set_explicitly");
186186

187187
let cg_clif_dylib = if use_existing_backend {
188+
// FIXME also allow using llvm for comparison purposes
188189
CodegenBackend::Builtin("cranelift".to_owned())
189190
} else {
190191
CodegenBackend::Local(build_backend::build_backend(

build_system/rustc_info.rs

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ pub(crate) fn get_default_sysroot(rustc: &Path) -> PathBuf {
8282
Path::new(String::from_utf8(default_sysroot).unwrap().trim()).to_owned()
8383
}
8484

85+
// FIXME call once for each target and pass result around in struct
8586
pub(crate) fn get_file_name(rustc: &Path, crate_name: &str, crate_type: &str) -> String {
8687
let file_name = Command::new(rustc)
8788
.stderr(Stdio::inherit())

0 commit comments

Comments
 (0)