Skip to content

Commit 39d99a1

Browse files
committed
rustdoc: Add readable rustdoc display for RISC-V target
use format 'RISC-V RV32' and 'RISC-V RV64'
1 parent 887999d commit 39d99a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/clean/cfg.rs

+2
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ impl<'a> fmt::Display for Display<'a> {
497497
"msp430" => "MSP430",
498498
"powerpc" => "PowerPC",
499499
"powerpc64" => "PowerPC-64",
500+
"riscv32" => "RISC-V RV32",
501+
"riscv64" => "RISC-V RV64",
500502
"s390x" => "s390x",
501503
"sparc64" => "SPARC64",
502504
"wasm32" | "wasm64" => "WebAssembly",

0 commit comments

Comments
 (0)