cargo fmt

This commit is contained in:
Vukašin Vojinović 2025-10-16 16:10:35 +02:00 committed by Victoria Brekenfeld
parent 5e9ea93819
commit b6c5d00bec
17 changed files with 264 additions and 277 deletions

View file

@ -2,10 +2,7 @@
use std::process::Command;
fn main() {
if let Ok(output) = Command::new("git")
.args(["rev-parse", "HEAD"])
.output()
{
if let Ok(output) = Command::new("git").args(["rev-parse", "HEAD"]).output() {
let git_hash = String::from_utf8(output.stdout).unwrap();
println!("cargo:rustc-env=GIT_HASH={}", git_hash);
}