at master 19 lines 563 B view raw
1diff --git a/build.rs b/build.rs 2index 0b20db2..d904e63 100644 3--- a/build.rs 4+++ b/build.rs 5@@ -163,13 +163,7 @@ fn main() { 6 simd_build.compile("simd"); 7 } 8 9- let git_output = std::process::Command::new("git") 10- .args(["rev-parse", "HEAD"]) 11- .output() 12- .unwrap(); 13- 14- let git_hash = String::from_utf8(git_output.stdout).unwrap(); 15- println!("cargo:rustc-env=GIT_HASH={}", git_hash); 16+ println!("cargo:rustc-env=GIT_HASH={}", "@GIT_REV@"); 17 18 println!("cargo:rustc-env=N64_STACK_SIZE={}", 8 * 1024 * 1024); 19 }