@@ -3761,10 +3761,10 @@ impl<'test> TestCx<'test> {
3761
3761
let stage = self . config . stage_id . split ( '-' ) . next ( ) . unwrap ( ) ;
3762
3762
3763
3763
// First, we construct the path to the built support library.
3764
- let mut support_dylib_path = PathBuf :: new ( ) ;
3765
- support_dylib_path . push ( & build_root) ;
3766
- support_dylib_path . push ( format ! ( "{}-tools-bin" , stage) ) ;
3767
- support_dylib_path . push ( "librun_make_support.rlib" ) ;
3764
+ let mut support_lib_path = PathBuf :: new ( ) ;
3765
+ support_lib_path . push ( & build_root) ;
3766
+ support_lib_path . push ( format ! ( "{}-tools-bin" , stage) ) ;
3767
+ support_lib_path . push ( "librun_make_support.rlib" ) ;
3768
3768
3769
3769
let mut stage_std_path = PathBuf :: new ( ) ;
3770
3770
stage_std_path. push ( & build_root) ;
@@ -3774,34 +3774,34 @@ impl<'test> TestCx<'test> {
3774
3774
// Then, we need to build the recipe `rmake.rs` and link in the support library.
3775
3775
let recipe_bin = tmpdir. join ( "rmake" ) ;
3776
3776
3777
- let mut support_dylib_deps = PathBuf :: new ( ) ;
3778
- support_dylib_deps . push ( & build_root) ;
3779
- support_dylib_deps . push ( format ! ( "{}-tools" , stage) ) ;
3780
- support_dylib_deps . push ( & self . config . host ) ;
3781
- support_dylib_deps . push ( "release" ) ;
3782
- support_dylib_deps . push ( "deps" ) ;
3777
+ let mut support_lib_deps = PathBuf :: new ( ) ;
3778
+ support_lib_deps . push ( & build_root) ;
3779
+ support_lib_deps . push ( format ! ( "{}-tools" , stage) ) ;
3780
+ support_lib_deps . push ( & self . config . host ) ;
3781
+ support_lib_deps . push ( "release" ) ;
3782
+ support_lib_deps . push ( "deps" ) ;
3783
3783
3784
- let mut support_dylib_deps_deps = PathBuf :: new ( ) ;
3785
- support_dylib_deps_deps . push ( & build_root) ;
3786
- support_dylib_deps_deps . push ( format ! ( "{}-tools" , stage) ) ;
3787
- support_dylib_deps_deps . push ( "release" ) ;
3788
- support_dylib_deps_deps . push ( "deps" ) ;
3784
+ let mut support_lib_deps_deps = PathBuf :: new ( ) ;
3785
+ support_lib_deps_deps . push ( & build_root) ;
3786
+ support_lib_deps_deps . push ( format ! ( "{}-tools" , stage) ) ;
3787
+ support_lib_deps_deps . push ( "release" ) ;
3788
+ support_lib_deps_deps . push ( "deps" ) ;
3789
3789
3790
- debug ! ( ?support_dylib_deps ) ;
3791
- debug ! ( ?support_dylib_deps_deps ) ;
3790
+ debug ! ( ?support_lib_deps ) ;
3791
+ debug ! ( ?support_lib_deps_deps ) ;
3792
3792
3793
3793
let res = self . cmd2procres (
3794
3794
Command :: new ( & self . config . rustc_path )
3795
3795
. arg ( "-o" )
3796
3796
. arg ( & recipe_bin)
3797
3797
. arg ( format ! (
3798
3798
"-Ldependency={}" ,
3799
- & support_dylib_path . parent( ) . unwrap( ) . to_string_lossy( )
3799
+ & support_lib_path . parent( ) . unwrap( ) . to_string_lossy( )
3800
3800
) )
3801
- . arg ( format ! ( "-Ldependency={}" , & support_dylib_deps . to_string_lossy( ) ) )
3802
- . arg ( format ! ( "-Ldependency={}" , & support_dylib_deps_deps . to_string_lossy( ) ) )
3801
+ . arg ( format ! ( "-Ldependency={}" , & support_lib_deps . to_string_lossy( ) ) )
3802
+ . arg ( format ! ( "-Ldependency={}" , & support_lib_deps_deps . to_string_lossy( ) ) )
3803
3803
. arg ( "--extern" )
3804
- . arg ( format ! ( "run_make_support={}" , & support_dylib_path . to_string_lossy( ) ) )
3804
+ . arg ( format ! ( "run_make_support={}" , & support_lib_path . to_string_lossy( ) ) )
3805
3805
. arg ( & self . testpaths . file . join ( "rmake.rs" ) )
3806
3806
. env ( "TARGET" , & self . config . target )
3807
3807
. env ( "PYTHON" , & self . config . python )
@@ -3830,7 +3830,7 @@ impl<'test> TestCx<'test> {
3830
3830
let mut dylib_env_paths = String :: new ( ) ;
3831
3831
dylib_env_paths. push_str ( & env:: var ( dylib_env_var ( ) ) . unwrap ( ) ) ;
3832
3832
dylib_env_paths. push ( ':' ) ;
3833
- dylib_env_paths. push_str ( & support_dylib_path . parent ( ) . unwrap ( ) . to_string_lossy ( ) ) ;
3833
+ dylib_env_paths. push_str ( & support_lib_path . parent ( ) . unwrap ( ) . to_string_lossy ( ) ) ;
3834
3834
dylib_env_paths. push ( ':' ) ;
3835
3835
dylib_env_paths. push_str (
3836
3836
& stage_std_path. join ( "rustlib" ) . join ( & self . config . host ) . join ( "lib" ) . to_string_lossy ( ) ,
0 commit comments