Skip to content

Commit c2f8d18

Browse files
Fix up allowed cfg list
Co-authored-by: Urgau <[email protected]>
1 parent fe93b98 commit c2f8d18

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/bootstrap/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,8 @@ const EXTRA_CHECK_CFGS: &[(Option<Mode>, &str, Option<&[&'static str]>)] = &[
139139
(Some(Mode::Std), "backtrace_in_libstd", None),
140140
/* Extra values not defined in the built-in targets yet, but used in std */
141141
(Some(Mode::Std), "target_env", Some(&["libnx"])),
142-
(Some(Mode::Std), "target_os", Some(&["teeos"])),
143-
(Some(Mode::Rustc), "target_os", Some(&["hurd"])),
144-
(Some(Mode::Std), "target_arch", Some(&["asmjs", "spirv", "nvptx", "xtensa", "csky"])),
142+
// (Some(Mode::Std), "target_os", Some(&[])),
143+
(Some(Mode::Std), "target_arch", Some(&["asmjs", "spirv", "nvptx", "xtensa"])),
145144
/* Extra names used by dependencies */
146145
// FIXME: Used by serde_json, but we should not be triggering on external dependencies.
147146
(Some(Mode::Rustc), "no_btreemap_remove_entry", None),

0 commit comments

Comments
 (0)