mirror of
https://github.com/jht5945/finding.git
synced 2025-12-27 13:20:03 +08:00
remove comment
This commit is contained in:
1
build.rs
1
build.rs
@@ -1,6 +1,5 @@
|
|||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
fn main() {
|
fn main() {
|
||||||
// note: add error checking yourself.
|
|
||||||
let output = Command::new("git").args(&["rev-parse", "HEAD"]).output().unwrap();
|
let output = Command::new("git").args(&["rev-parse", "HEAD"]).output().unwrap();
|
||||||
let git_hash = String::from_utf8(output.stdout).unwrap();
|
let git_hash = String::from_utf8(output.stdout).unwrap();
|
||||||
println!("cargo:rustc-env=GIT_HASH={}", git_hash);
|
println!("cargo:rustc-env=GIT_HASH={}", git_hash);
|
||||||
|
|||||||
Reference in New Issue
Block a user