Skip to content

Commit

Permalink
build.rs: Drop warnings about deprecated cargo features
Browse files Browse the repository at this point in the history
These are unlikely to get seen.

[ resolve conflicts - Trevor ]
  • Loading branch information
joshtriplett authored and tgross35 committed Nov 16, 2024
1 parent 3807bd3 commit 67b2944
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ fn main() {
let libc_ci = env::var("LIBC_CI").is_ok();
let libc_check_cfg = env::var("LIBC_CHECK_CFG").is_ok() || rustc_minor_ver >= 80;

if env::var("CARGO_FEATURE_USE_STD").is_ok() {
println!(
"cargo:warning=\"libc's use_std cargo feature is deprecated since libc 0.2.55; \
please consider using the `std` cargo feature instead\""
);
}

// The ABI of libc used by std is backward compatible with FreeBSD 12.
// The ABI of libc from crates.io is backward compatible with FreeBSD 11.
//
Expand Down

0 comments on commit 67b2944

Please sign in to comment.