This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub(crate) fn build_sysroot(
23
23
fs:: create_dir_all ( target_dir. join ( "lib" ) ) . unwrap ( ) ;
24
24
25
25
// Copy the backend
26
- let cg_clif_dylib = get_file_name ( "rustc_codegen_cranelift" , "dylib" , target_triple ) ;
26
+ let cg_clif_dylib = get_file_name ( "rustc_codegen_cranelift" , "dylib" , host_triple ) ;
27
27
let cg_clif_dylib_path = target_dir
28
28
. join ( if cfg ! ( windows) {
29
29
// Windows doesn't have rpath support, so the cg_clif dylib needs to be next to the
@@ -37,7 +37,7 @@ pub(crate) fn build_sysroot(
37
37
38
38
// Build and copy rustc and cargo wrappers
39
39
for wrapper in [ "rustc-clif" , "cargo-clif" ] {
40
- let wrapper_name = get_wrapper_file_name ( wrapper, "bin" , target_triple ) ;
40
+ let wrapper_name = get_wrapper_file_name ( wrapper, "bin" , host_triple ) ;
41
41
42
42
let mut build_cargo_wrapper_cmd = Command :: new ( "rustc" ) ;
43
43
build_cargo_wrapper_cmd
Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ impl TestRunner {
414
414
{
415
415
let mut rustc_clif = self . root_dir . clone ( ) ;
416
416
rustc_clif. push ( "build" ) ;
417
- rustc_clif. push ( get_wrapper_file_name ( "rustc-clif" , "bin" , & self . target_triple ) ) ;
417
+ rustc_clif. push ( get_wrapper_file_name ( "rustc-clif" , "bin" , & self . host_triple ) ) ;
418
418
419
419
let mut cmd = Command :: new ( rustc_clif) ;
420
420
if !self . rust_flags . is_empty ( ) {
@@ -476,7 +476,7 @@ impl TestRunner {
476
476
{
477
477
let mut cargo_clif = self . root_dir . clone ( ) ;
478
478
cargo_clif. push ( "build" ) ;
479
- cargo_clif. push ( get_wrapper_file_name ( "cargo-clif" , "bin" , & self . target_triple ) ) ;
479
+ cargo_clif. push ( get_wrapper_file_name ( "cargo-clif" , "bin" , & self . host_triple ) ) ;
480
480
481
481
let mut cmd = Command :: new ( cargo_clif) ;
482
482
cmd. args ( args) ;
You can’t perform that action at this time.
0 commit comments