diff options
| author | chenx97 <chenx97@aosc.io> | 2023-06-28 13:35:39 +0800 |
|---|---|---|
| committer | chenx97 <chenx97@aosc.io> | 2023-07-18 18:58:18 +0800 |
| commit | d3727148a0cb2ddf5f3d9c3af7f6caf5bc032e9d (patch) | |
| tree | a30bd28dc7cc98b31be8c8cff63bbdea94eba09f /src/bootstrap | |
| parent | a132b3ec03f3ddab35fdc2d0c3bfbda951956db5 (diff) | |
| download | rust-d3727148a0cb2ddf5f3d9c3af7f6caf5bc032e9d.tar.gz rust-d3727148a0cb2ddf5f3d9c3af7f6caf5bc032e9d.zip | |
support for mips32r6 as a target_arch value
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index a25e3c15f6d..059eb9ffc7b 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -133,8 +133,12 @@ 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(&[])), - // #[cfg(bootstrap)] mips64r6 - (Some(Mode::Std), "target_arch", Some(&["asmjs", "spirv", "nvptx", "xtensa", "mips64r6"])), + // #[cfg(bootstrap)] mips32r6, mips64r6 + ( + Some(Mode::Std), + "target_arch", + Some(&["asmjs", "spirv", "nvptx", "xtensa", "mips32r6", "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), |
