mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix outdated build.rs comments
This commit is contained in:
parent
1e925857f0
commit
a1147c7c4f
1 changed files with 2 additions and 2 deletions
4
build.rs
4
build.rs
|
@ -86,7 +86,7 @@ fn detect_cfgs(target: Target) {
|
||||||
),
|
),
|
||||||
("bsd", &detect_bsd),
|
("bsd", &detect_bsd),
|
||||||
("gettext", &have_gettext),
|
("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| {
|
("localeconv_l", &|target| {
|
||||||
Ok(target.has_symbol_in::<String>("localeconv_l", &[]))
|
Ok(target.has_symbol_in::<String>("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
|
/// 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
|
/// 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
|
/// doesn't necessarily include less-popular forks nor does it group them into families more
|
||||||
|
|
Loading…
Reference in a new issue