rustbuild: install rustc after cargo and rls
This way its files take precedence (e.g. README.md and stuff) Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
This commit is contained in:
parent
03c5797552
commit
7b1fb89641
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user