Skip to content

Commit c477eab

Browse files
committed
---
yaml --- r: 223665 b: refs/heads/beta c: 147da94 h: refs/heads/master i: 223663: 15b9fa6 v: v3
1 parent 53e6da6 commit c477eab

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 04dfdd7403b8dd3f93e26af9a32d34b786e33324
26+
refs/heads/beta: 147da94206f42a4b30fb1d401530519b58b4a050
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 938f5d7af401e2d8238522fed4a612943b6e77fd
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/librustc_driver/lib.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -481,21 +481,6 @@ pub fn commit_date_str() -> Option<&'static str> {
481481
option_env!("CFG_VER_DATE")
482482
}
483483

484-
/// Returns a stage string, such as "stage0".
485-
pub fn stage_str() -> Option<&'static str> {
486-
if cfg!(stage0) {
487-
Some("stage0")
488-
} else if cfg!(stage1) {
489-
Some("stage1")
490-
} else if cfg!(stage2) {
491-
Some("stage2")
492-
} else if cfg!(stage3) {
493-
Some("stage3")
494-
} else {
495-
None
496-
}
497-
}
498-
499484
/// Prints version information
500485
pub fn version(binary: &str, matches: &getopts::Matches) {
501486
let verbose = matches.opt_present("verbose");
@@ -508,7 +493,6 @@ pub fn version(binary: &str, matches: &getopts::Matches) {
508493
println!("commit-date: {}", unw(commit_date_str()));
509494
println!("host: {}", config::host_triple());
510495
println!("release: {}", unw(release_str()));
511-
println!("stage: {}", unw(stage_str()));
512496
}
513497
}
514498

0 commit comments

Comments
 (0)