From 3d017414011bec773bd56ee3dcffbed2cd6f0f04 Mon Sep 17 00:00:00 2001 From: innocentzero Date: Tue, 30 Apr 2024 10:11:04 +0530 Subject: [PATCH] build: Update build script cargo version 1.77 onwards added support for cargo:: to communicate with cargo and deprecated the old cargo: syntax. Signed-off-by: innocentzero --- crates/pacdef/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/pacdef/build.rs b/crates/pacdef/build.rs index b8d6986..62a4759 100644 --- a/crates/pacdef/build.rs +++ b/crates/pacdef/build.rs @@ -9,5 +9,5 @@ fn main() { _ => String::new(), }; - println!("cargo:rustc-env=GIT_HASH={git_hash}"); + println!("cargo::rustc-env=GIT_HASH={git_hash}"); }