1
0
mirror of https://github.com/jht5945/prettyjson.git synced 2025-12-27 09:10:04 +08:00

remove comment

This commit is contained in:
2019-08-03 10:08:50 +08:00
parent 82d19bf5ce
commit 7bb93c8f09

View File

@@ -1,6 +1,5 @@
use std::process::Command;
fn main() {
// note: add error checking yourself.
let output = Command::new("git").args(&["rev-parse", "HEAD"]).output().unwrap();
let git_hash = String::from_utf8(output.stdout).unwrap();
println!("cargo:rustc-env=GIT_HASH={}", git_hash);