Skip to content

Commit

Permalink
rustdoc: Add readable rustdoc display for RISC-V target
Browse files Browse the repository at this point in the history
use format 'RISC-V RV32' and 'RISC-V RV64'
  • Loading branch information
luojia65 committed Feb 6, 2022
1 parent 887999d commit 39d99a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustdoc/clean/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,8 @@ impl<'a> fmt::Display for Display<'a> {
"msp430" => "MSP430",
"powerpc" => "PowerPC",
"powerpc64" => "PowerPC-64",
"riscv32" => "RISC-V RV32",
"riscv64" => "RISC-V RV64",
"s390x" => "s390x",
"sparc64" => "SPARC64",
"wasm32" | "wasm64" => "WebAssembly",
Expand Down

0 comments on commit 39d99a1

Please sign in to comment.