build: Fix a bug where cargo syntax is different for MSRV below 1.77.0

This commit is contained in:
Chris Hennick 2024-04-29 17:00:11 -07:00
parent 5109cb8553
commit 9739df01dc
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -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`");
}
}