Skip to content

Commit cc821d3

Browse files
Rollup merge of #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 83e814f + 0f40b65 commit cc821d3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bootstrap/src/lib.rs

-2
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)