@@ -28,7 +28,6 @@ pub fn run_tests(env: &Environment) -> anyhow::Result<()> {
28
28
let rustc_dir = extract_dist_dir ( & format ! ( "rustc-{version}-{host_triple}" ) ) ?. join ( "rustc" ) ;
29
29
let libstd_dir = extract_dist_dir ( & format ! ( "rust-std-{version}-{host_triple}" ) ) ?
30
30
. join ( format ! ( "rust-std-{host_triple}" ) ) ;
31
- let cargo_dir = extract_dist_dir ( & format ! ( "cargo-{version}-{host_triple}" ) ) ?. join ( "cargo" ) ;
32
31
let extracted_src_dir = extract_dist_dir ( & format ! ( "rust-src-{version}" ) ) ?. join ( "rust-src" ) ;
33
32
34
33
// We need to manually copy libstd to the extracted rustc sysroot
@@ -47,8 +46,6 @@ pub fn run_tests(env: &Environment) -> anyhow::Result<()> {
47
46
48
47
let rustc_path = rustc_dir. join ( "bin" ) . join ( format ! ( "rustc{}" , executable_extension( ) ) ) ;
49
48
assert ! ( rustc_path. is_file( ) ) ;
50
- let cargo_path = cargo_dir. join ( "bin" ) . join ( format ! ( "cargo{}" , executable_extension( ) ) ) ;
51
- assert ! ( cargo_path. is_file( ) ) ;
52
49
53
50
// Specify path to a LLVM config so that LLVM is not rebuilt.
54
51
// It doesn't really matter which LLVM config we choose, because no sysroot will be compiled.
@@ -65,13 +62,11 @@ change-id = 115898
65
62
66
63
[build]
67
64
rustc = "{rustc}"
68
- cargo = "{cargo}"
69
65
70
66
[target.{host_triple}]
71
67
llvm-config = "{llvm_config}"
72
68
"# ,
73
69
rustc = rustc_path. to_string( ) . replace( '\\' , "/" ) ,
74
- cargo = cargo_path. to_string( ) . replace( '\\' , "/" ) ,
75
70
llvm_config = llvm_config. to_string( ) . replace( '\\' , "/" )
76
71
) ;
77
72
log:: info!( "Using following `config.toml` for running tests:\n {config_content}" ) ;
0 commit comments