Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed May 14, 2023
1 parent 3c1c2c0 commit 4648904
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,6 @@ impl Config {
config.download_beta_toolchain();
config.out.join(config.build.triple).join("stage0/bin/rustc")
});
config.check_build_rustc_version();

config.initial_cargo = build
.cargo
Expand Down Expand Up @@ -1683,7 +1682,7 @@ impl Config {
self.rust_codegen_backends.get(0).cloned()
}

fn check_build_rustc_version(&self) {
pub fn check_build_rustc_version(&self) {
if self.dry_run() {
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/bootstrap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ impl Build {
bootstrap_out.display()
)
}
config.check_build_rustc_version();

if rust_info.is_from_tarball() && config.description.is_none() {
config.description = Some("built from a source tarball".to_owned());
Expand Down

0 comments on commit 4648904

Please sign in to comment.