diff --git a/build.rs b/build.rs index 5b72d0f21..e0edd0e2a 100644 --- a/build.rs +++ b/build.rs @@ -86,7 +86,7 @@ fn detect_cfgs(target: Target) { ), ("bsd", &detect_bsd), ("gettext", &have_gettext), - // See if the system headers provide the thread-safe localeconv_l(3) alternative to localeconv(3). + // See if libc supports the thread-safe localeconv_l(3) alternative to localeconv(3). ("localeconv_l", &|target| { Ok(target.has_symbol_in::("localeconv_l", &[])) }), @@ -112,7 +112,7 @@ fn detect_cfgs(target: Target) { } /// Detect if we're being compiled for a BSD-derived OS, allowing targeting code conditionally with -/// `#[cfg(feature = "bsd")]`. +/// `#[cfg(bsd)]`. /// /// Rust offers fine-grained conditional compilation per-os for the popular operating systems, but /// doesn't necessarily include less-popular forks nor does it group them into families more