parent
a2cf2c66e0
commit
c40866785f
2 changed files with 0 additions and 9 deletions
|
|
@ -483,10 +483,6 @@ pub fn commit_date_str() -> Option<&'static str> {
|
|||
option_env!("CFG_VER_DATE")
|
||||
}
|
||||
|
||||
pub fn build_date_str() -> Option<&'static str> {
|
||||
option_env!("CFG_BUILD_DATE")
|
||||
}
|
||||
|
||||
/// Prints version information and returns None on success or an error
|
||||
/// message on panic.
|
||||
pub fn version(binary: &str, matches: &getopts::Matches) {
|
||||
|
|
@ -498,7 +494,6 @@ pub fn version(binary: &str, matches: &getopts::Matches) {
|
|||
println!("binary: {}", binary);
|
||||
println!("commit-hash: {}", unw(commit_hash_str()));
|
||||
println!("commit-date: {}", unw(commit_date_str()));
|
||||
println!("build-date: {}", unw(build_date_str()));
|
||||
println!("host: {}", config::host_triple());
|
||||
println!("release: {}", unw(release_str()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue