introduce workspace

This commit is contained in:
steven-omaha
2023-02-13 19:46:35 +01:00
parent c13233a2f3
commit d7ea6ce708
37 changed files with 90 additions and 68 deletions
+10
View File
@@ -0,0 +1,10 @@
use std::process::Command;
fn main() {
let output = Command::new("git")
.args(["rev-parse", "--short", "HEAD"])
.output()
.unwrap();
let git_hash = String::from_utf8(output.stdout).unwrap();
println!("cargo:rustc-env=GIT_HASH={git_hash}");
}