diff --git a/src/librustdoc/clean/cfg.rs b/src/librustdoc/clean/cfg.rs index 0d213a5a2de..9e9c4dfb506 100644 --- a/src/librustdoc/clean/cfg.rs +++ b/src/librustdoc/clean/cfg.rs @@ -517,6 +517,8 @@ fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { "msp430" => "MSP430", "powerpc" => "PowerPC", "powerpc64" => "PowerPC-64", + "riscv32" => "RISC-V RV32", + "riscv64" => "RISC-V RV64", "s390x" => "s390x", "sparc64" => "SPARC64", "wasm32" | "wasm64" => "WebAssembly",