Skip to content

Commit 110a488

Browse files
authored
Merge pull request #1159 from nicholasbishop/bishop-fix-riscv
Fix risc target_arch cfg
2 parents cbe2591 + 128fd0a commit 110a488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uefi/src/proto/debug/exception.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl ExceptionType {
140140
pub const MAX_AARCH64_EXCEPTION: ExceptionType = ExceptionType::EXCEPT_AARCH64_SERROR;
141141
}
142142

143-
#[cfg(target_arch = "riscv")]
143+
#[cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
144144
impl ExceptionType {
145145
/// Instruction misaligned
146146
pub const EXCEPT_RISCV_INST_MISALIGNED: ExceptionType = ExceptionType(0);

0 commit comments

Comments
 (0)