File tree 2 files changed +2
-0
lines changed
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ fn main() {
185
185
env:: set_var ( "RUSTDOC" , "rustdoc_should_be_set_explicitly" ) ;
186
186
187
187
let cg_clif_dylib = if use_existing_backend {
188
+ // FIXME also allow using llvm for comparison purposes
188
189
CodegenBackend :: Builtin ( "cranelift" . to_owned ( ) )
189
190
} else {
190
191
CodegenBackend :: Local ( build_backend:: build_backend (
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ pub(crate) fn get_default_sysroot(rustc: &Path) -> PathBuf {
82
82
Path :: new ( String :: from_utf8 ( default_sysroot) . unwrap ( ) . trim ( ) ) . to_owned ( )
83
83
}
84
84
85
+ // FIXME call once for each target and pass result around in struct
85
86
pub ( crate ) fn get_file_name ( rustc : & Path , crate_name : & str , crate_type : & str ) -> String {
86
87
let file_name = Command :: new ( rustc)
87
88
. stderr ( Stdio :: inherit ( ) )
You can’t perform that action at this time.
0 commit comments