Skip to content

Commit

Permalink
build: Fix a bug where cargo syntax is different for MSRV below 1.77.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Apr 30, 2024
1 parent 5109cb8 commit 9739df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`");
}
}

0 comments on commit 9739df0

Please sign in to comment.