include LLVM version in --version --verbose
This is in the matter of #28405.
This commit is contained in:
parent
8e05e7ee3c
commit
06123d3afe
@ -729,6 +729,10 @@ 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()));
|
||||
unsafe {
|
||||
println!("LLVM version: {}.{}",
|
||||
llvm::LLVMRustVersionMajor(), llvm::LLVMRustVersionMinor());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user