about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-01-24 18:56:42 +0100
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-01-24 18:56:42 +0100
commitb829bb74315568e18be0426a37fadd78cd2c485a (patch)
treec6f680ebc618e2052aea2c21644d000f4283c1e4 /compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs
parentc8e6a9e8b6251bbc8276cb78cabe1998deecbed7 (diff)
parent598f0909568a51de8a2d1148f55a644fd8dffad0 (diff)
downloadrust-b829bb74315568e18be0426a37fadd78cd2c485a.tar.gz
rust-b829bb74315568e18be0426a37fadd78cd2c485a.zip
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
Diffstat (limited to 'compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs b/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs
index 3abfcd8ddc8..c187f54a60e 100644
--- a/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs
+++ b/compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs
@@ -24,7 +24,7 @@ fn main() {
     }
 
     // Ensure that the right toolchain is used
-    env::set_var("RUSTUP_TOOLCHAIN", env!("RUSTUP_TOOLCHAIN"));
+    env::set_var("RUSTUP_TOOLCHAIN", env!("TOOLCHAIN_NAME"));
 
     #[cfg(unix)]
     Command::new("rustc").args(args).exec();