summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRory Dudley2024-07-18 18:05:14 -0600
committerRory Dudley2024-07-20 01:37:30 -0600
commitc2f894c84f7f1ccc935a76a11eeb4bea7c1b0623 (patch)
tree02330951c4a513527a41093b0fc62ea7e09eccc7
parentdf810170dedf13dd67efd387d5cc3b4a3297be06 (diff)
downloaddwarvish-c2f894c84f7f1ccc935a76a11eeb4bea7c1b0623.tar.gz
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 <rory@netc.lu>
-rw-r--r--build.rs2
1 files changed, 1 insertions, 1 deletions
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)
);
}