[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Change how build environment variable is set
[Thread Prev] | [Thread Next]
- Subject: [PATCH] Change how build environment variable is set
- From: Rory Dudley <rory@xxxxxxx>
- Reply-to: rory@xxxxxxx
- Date: Thu, 18 Jul 2024 18:05:14 -0600
- To: lore@xxxxxxxxxxxx
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. --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ); } -- cheers!~ Rory
Archive administrator: postmaster AT dwarvish DOT org