about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorchenx97 <chenx97@aosc.io>2023-06-02 11:18:26 +0800
committerchenx97 <chenx97@aosc.io>2023-07-18 18:58:18 +0800
commitc6e03cd9516cccb95257e224af49d704cf493e04 (patch)
treea5c9d2f2348b68741442b4cd478a206b0029811e /src/bootstrap
parentc44324a4fe8e96f9d6473255df6c3a481caca76f (diff)
support for mips64r6 as a target_arch value
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index de43a401926..a25e3c15f6d 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -133,7 +133,8 @@ const EXTRA_CHECK_CFGS: &[(Option<Mode>, &'static str, Option<&[&'static str]>)]
     /* Extra values not defined in the built-in targets yet, but used in std */
     (Some(Mode::Std), "target_env", Some(&["libnx"])),
     // (Some(Mode::Std), "target_os", Some(&[])),
-    (Some(Mode::Std), "target_arch", Some(&["asmjs", "spirv", "nvptx", "xtensa"])),
+    // #[cfg(bootstrap)] mips64r6
+    (Some(Mode::Std), "target_arch", Some(&["asmjs", "spirv", "nvptx", "xtensa", "mips64r6"])),
     /* Extra names used by dependencies */
     // FIXME: Used by serde_json, but we should not be triggering on external dependencies.
     (Some(Mode::Rustc), "no_btreemap_remove_entry", None),