File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ verbose-tests = true
556
556
[build]
557
557
cargo = "{cargo}"
558
558
local-rebuild = true
559
- rustc = "{home}/.rustup /toolchains/{toolchain}-{host_triple}/bin/rustc"
559
+ rustc = "{rustup_home} /toolchains/{toolchain}-{host_triple}/bin/rustc"
560
560
561
561
[target.x86_64-unknown-linux-gnu]
562
562
llvm-filecheck = "{llvm_filecheck}"
@@ -565,7 +565,10 @@ llvm-filecheck = "{llvm_filecheck}"
565
565
download-ci-llvm = false
566
566
"# ,
567
567
cargo = cargo. trim( ) ,
568
- home = env. get( "HOME" ) . unwrap( ) ,
568
+ rustup_home = match env. get( "RUSTUP_HOME" ) {
569
+ Some ( rustup_dir) => rustup_dir. clone( ) ,
570
+ None => env. get( "HOME" ) . unwrap( ) . to_owned( ) + "/.rustup" ,
571
+ } ,
569
572
toolchain = toolchain,
570
573
host_triple = args. config_info. host_triple,
571
574
llvm_filecheck = llvm_filecheck. trim( ) ,
You can’t perform that action at this time.
0 commit comments