refact: remove virtual package

This commit is contained in:
steven-omaha
2025-08-05 12:20:09 +02:00
parent 9a7fd77e99
commit 83275576fb
38 changed files with 34 additions and 48 deletions
+13
View File
@@ -0,0 +1,13 @@
use std::process::Command;
fn main() {
let git_hash = match Command::new("git")
.args(["rev-parse", "--short", "HEAD"])
.output()
{
Ok(output) => String::from_utf8(output.stdout).expect("git output is utf-8"),
_ => String::new(),
};
println!("cargo::rustc-env=GIT_HASH={git_hash}");
}