From c2f894c84f7f1ccc935a76a11eeb4bea7c1b0623 Mon Sep 17 00:00:00 2001 From: Rory Dudley Date: Thu, 18 Jul 2024 18:05:14 -0600 Subject: Change how build environment variable is set It appears that some older versions of the Rust compiler do not like the double colon syntax when setting environment variables for the build process. Until the latest cargo release will only accept the double colon syntax, use a single colon when setting environment variables in build.rs. Signed-off-by: Rory Dudley --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.rs') diff --git a/build.rs b/build.rs index a22f635..19eff11 100644 --- a/build.rs +++ b/build.rs @@ -10,7 +10,7 @@ fn main() { ) .to_string(); println!( - "cargo::rustc-env=DWVSH_BUILD={}", + "cargo:rustc-env=DWVSH_BUILD={}", build.get(0..7).unwrap_or(&build) ); } -- cgit v1.2.3