Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
yihozhang committed Sep 25, 2024
1 parent 4b5769e commit 5bf9dee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use std::{env, process::Command};

#[allow(clippy::disallowed_macros)] // for println!
fn main() {
lalrpop::process_root().unwrap();
let output = Command::new("git")
.args(&["rev-parse", "--short", "HEAD"])
.args(["rev-parse", "--short", "HEAD"])
.output()
.unwrap();
let git_hash = String::from_utf8(output.stdout).unwrap();
Expand Down

0 comments on commit 5bf9dee

Please sign in to comment.