Skip to content

Commit

Permalink
add rustc short commit SHA hash and commit date
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimpkins committed Nov 21, 2023
1 parent 583a8da commit 3910465
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fontc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ fn print_verbose_version() -> Result<(), std::io::Error> {
writeln!(std::io::stdout(), "{}", env!("VERGEN_RUSTC_HOST_TRIPLE"))?;
writeln!(
std::io::stdout(),
"rustc {} (channel: {})",
"rustc {} (channel: {}, {} {})",
env!("VERGEN_RUSTC_SEMVER"),
env!("VERGEN_RUSTC_CHANNEL")
env!("VERGEN_RUSTC_CHANNEL"),
env!("VERGEN_RUSTC_COMMIT_HASH").get(..9).unwrap_or(""),
env!("VERGEN_RUSTC_COMMIT_DATE")
)?;
writeln!(
std::io::stdout(),
Expand Down

0 comments on commit 3910465

Please sign in to comment.