Skip to content

Commit b47fd0a

Browse files
committed
fix: add riscv64 to this_arch_root
1 parent fa95cfd commit b47fd0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/lib/src/discoverable_partition_specification.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@ pub const fn this_arch_root() -> &'static str {
521521
ROOT_PPC64
522522
} else if #[cfg(all(target_arch = "powerpc64", target_endian = "little"))] {
523523
ROOT_PPC64_LE
524+
} else if #[cfg(target_arch = "riscv64")] {
525+
ROOT_RISCV64
524526
} else {
525527
compile_error!("Unsupported architecture")
526528
}

0 commit comments

Comments
 (0)