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 <isfarulhaque@proton.me>
This commit is contained in:
innocentzero
2024-04-30 10:11:04 +05:30
parent dfb5d0bd23
commit 3d01741401
+1 -1
View File
@@ -9,5 +9,5 @@ fn main() {
_ => String::new(),
};
println!("cargo:rustc-env=GIT_HASH={git_hash}");
println!("cargo::rustc-env=GIT_HASH={git_hash}");
}