fix arch names in cfg pretty printer

(cherry picked from commit 05081b96c9)
This commit is contained in:
usamoi
2026-04-14 22:53:22 +08:00
committed by Josh Stone
parent b4d644b3b6
commit febf9f5047
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -545,15 +545,15 @@ fn human_readable_target_arch(os: Symbol) -> Option<&'static str> {
Some(match arch {
// tidy-alphabetical-start
AArch64 => "AArch64",
AmdGpu => "AMG GPU",
AmdGpu => "AMD GPU",
Arm => "ARM",
Arm64EC => "ARM64EC",
Avr => "AVR",
Bpf => "BPF",
CSky => "C-SKY",
Hexagon => "Hexagon",
LoongArch32 => "LoongArch64",
LoongArch64 => "LoongArch32",
LoongArch32 => "LoongArch32",
LoongArch64 => "LoongArch64",
M68k => "Motorola 680x0",
Mips => "MIPS",
Mips32r6 => "MIPS release 6",
+2 -2
View File
@@ -32,8 +32,8 @@ pub fn foo() {}
//@ has all_targets/fn.bar.html \
// '//*[@id="main-content"]/*[@class="item-info"]/*[@class="stab portability"]' \
// 'Available on AArch64 or AMG GPU or ARM or ARM64EC or AVR or BPF or C-SKY or \
// Hexagon or LoongArch64 or LoongArch32 or Motorola 680x0 or MIPS or MIPS release \
// 'Available on AArch64 or AMD GPU or ARM or ARM64EC or AVR or BPF or C-SKY or \
// Hexagon or LoongArch32 or LoongArch64 or Motorola 680x0 or MIPS or MIPS release \
// 6 or MIPS-64 or MIPS-64 release 6 or MSP430 or NVidia GPU or PowerPC or \
// PowerPC64 or RISC-V RV32 or RISC-V RV64 or s390x or SPARC or SPARC-64 or SPIR-V \
// or WebAssembly or WebAssembly or x86 or x86-64 or Xtensa or \