Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit f430421

Browse files
authored
Unrolled build for rust-lang#118747
Rollup merge of rust-lang#118747 - Urgau:check-cfg-freebsd-cleanup, r=onur-ozkan Remove extra check cfg handled by libc directly The `libc` crate has handle for quite some time now [check-cfg in it's own build script](https://github.com/rust-lang/libc/blob/497ac428bc010b5db9682ecf94cd567b31d53e5c/build.rs#L6-L32). We therefor no longer need to manually define them.
2 parents 8cd8d31 + 0f40b65 commit f430421

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bootstrap/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ const EXTRA_CHECK_CFGS: &[(Option<Mode>, &str, Option<&[&'static str]>)] = &[
8383
(Some(Mode::Std), "no_global_oom_handling", None),
8484
(Some(Mode::Std), "no_rc", None),
8585
(Some(Mode::Std), "no_sync", None),
86-
(Some(Mode::Std), "freebsd12", None),
87-
(Some(Mode::Std), "freebsd13", None),
8886
(Some(Mode::Std), "backtrace_in_libstd", None),
8987
/* Extra values not defined in the built-in targets yet, but used in std */
9088
(Some(Mode::Std), "target_env", Some(&["libnx"])),

0 commit comments

Comments
 (0)