Skip to content

Commit ca8cad7

Browse files
zhaixiaojuanheiher
authored andcommitted
Add loongarch64 to exception list
1 parent ccf5417 commit ca8cad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/bootstrap/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ const EXTRA_CHECK_CFGS: &[(Option<Mode>, &'static str, Option<&[&'static str]>)]
129129
/* Extra values not defined in the built-in targets yet, but used in std */
130130
(Some(Mode::Std), "target_env", Some(&["libnx"])),
131131
// (Some(Mode::Std), "target_os", Some(&[])),
132-
(Some(Mode::Std), "target_arch", Some(&["asmjs", "spirv", "nvptx", "xtensa"])),
132+
// #[cfg(bootstrap)] loongarch64
133+
(Some(Mode::Std), "target_arch", Some(&["asmjs", "spirv", "nvptx", "xtensa", "loongarch64"])),
133134
/* Extra names used by dependencies */
134135
// FIXME: Used by serde_json, but we should not be triggering on external dependencies.
135136
(Some(Mode::Rustc), "no_btreemap_remove_entry", None),

0 commit comments

Comments
 (0)