Skip to content

Commit 69340e6

Browse files
committed
Fix wrong CPU model.
1 parent 3127013 commit 69340e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/rust/src/rh850.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub enum RH850CpuModel {
107107
}
108108

109109
impl From<RH850CpuModel> for i32 {
110-
fn from(value: Riscv32CpuModel) -> Self {
110+
fn from(value: RH850CpuModel) -> Self {
111111
value as i32
112112
}
113113
}

0 commit comments

Comments
 (0)