From 9739df01dc6f0bdabc52494bb87881afd60b276f Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:00:11 -0700 Subject: [PATCH] build: Fix a bug where cargo syntax is different for MSRV below 1.77.0 --- src/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build.rs b/src/build.rs index 534a9a7d..c9feaa0a 100644 --- a/src/build.rs +++ b/src/build.rs @@ -2,6 +2,6 @@ use std::env::var; fn main() { if var("CARGO_FEATURE_DEFLATE_MINIZ").is_ok() { - println!("cargo::warning=Feature `deflate-miniz` is deprecated; replace it with `deflate`"); + println!("cargo:warning=Feature `deflate-miniz` is deprecated; replace it with `deflate`"); } } \ No newline at end of file