Skip to content

Commit

Permalink
Revert "rustc_driver: Omit stage info for stage2+"
Browse files Browse the repository at this point in the history
This reverts commit e66ac43.
  • Loading branch information
brson committed Jul 7, 2015
1 parent ed14593 commit 04dfdd7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/librustc_driver/lib.rs
Expand Up @@ -487,6 +487,10 @@ pub fn stage_str() -> Option<&'static str> {
Some("stage0")
} else if cfg!(stage1) {
Some("stage1")
} else if cfg!(stage2) {
Some("stage2")
} else if cfg!(stage3) {
Some("stage3")
} else {
None
}
Expand All @@ -504,9 +508,7 @@ pub fn version(binary: &str, matches: &getopts::Matches) {
println!("commit-date: {}", unw(commit_date_str()));
println!("host: {}", config::host_triple());
println!("release: {}", unw(release_str()));
if let Some(stage) = stage_str() {
println!("stage: {}", stage);
}
println!("stage: {}", unw(stage_str()));
}
}

Expand Down

0 comments on commit 04dfdd7

Please sign in to comment.