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:
@@ -9,5 +9,5 @@ fn main() {
|
||||
_ => String::new(),
|
||||
};
|
||||
|
||||
println!("cargo:rustc-env=GIT_HASH={git_hash}");
|
||||
println!("cargo::rustc-env=GIT_HASH={git_hash}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user