about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/install.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap/install.rs b/src/bootstrap/install.rs
index b8dde1df729..c805522fbf5 100644
--- a/src/bootstrap/install.rs
+++ b/src/bootstrap/install.rs
@@ -55,9 +55,6 @@ pub fn install(build: &Build, stage: u32, host: &str) {
                    stage, target, &prefix, &docdir, &libdir, &mandir, &empty_dir);
     }
 
-    install_sh(&build, "rustc", "rustc", &build.rust_package_vers(),
-               stage, host, &prefix, &docdir, &libdir, &mandir, &empty_dir);
-
     if build.config.extended {
         install_sh(&build, "cargo", "cargo", &build.cargo_package_vers(),
                    stage, host, &prefix, &docdir, &libdir, &mandir, &empty_dir);
@@ -65,6 +62,9 @@ pub fn install(build: &Build, stage: u32, host: &str) {
                    stage, host, &prefix, &docdir, &libdir, &mandir, &empty_dir);
     }
 
+    install_sh(&build, "rustc", "rustc", &build.rust_package_vers(),
+               stage, host, &prefix, &docdir, &libdir, &mandir, &empty_dir);
+
     t!(fs::remove_dir_all(&empty_dir));
 }