From 483f5da0ff9e599870c9d3b31b43efce8706ab52 Mon Sep 17 00:00:00 2001 From: Wolter Eldering Date: Fri, 3 Apr 2026 21:16:35 +0200 Subject: [PATCH] fix: add riscv64 to this_arch_root Signed-off-by: Wolter Eldering --- crates/lib/src/discoverable_partition_specification.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/lib/src/discoverable_partition_specification.rs b/crates/lib/src/discoverable_partition_specification.rs index b4ef6cb6b..a743d17cb 100644 --- a/crates/lib/src/discoverable_partition_specification.rs +++ b/crates/lib/src/discoverable_partition_specification.rs @@ -521,6 +521,8 @@ pub const fn this_arch_root() -> &'static str { ROOT_PPC64 } else if #[cfg(all(target_arch = "powerpc64", target_endian = "little"))] { ROOT_PPC64_LE + } else if #[cfg(target_arch = "riscv64")] { + ROOT_RISCV64 } else { compile_error!("Unsupported architecture") }