build: Fix a bug where cargo syntax is different for MSRV below 1.77.0
This commit is contained in:
parent
5109cb8553
commit
9739df01dc
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ use std::env::var;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
if var("CARGO_FEATURE_DEFLATE_MINIZ").is_ok() {
|
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`");
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue