File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ macro_rules! instruction {
8
8
#[ cfg( any( target_arch = "riscv32" , target_arch = "riscv64" ) ) ]
9
9
( ) => asm!( $asm :: :: "volatile" ) ,
10
10
#[ cfg( not( any( target_arch = "riscv32" , target_arch = "riscv64" ) ) ) ]
11
- ( ) => { }
11
+ ( ) => unimplemented! ( ) ,
12
12
}
13
13
}
14
14
)
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pub unsafe fn disable() {
11
11
#[ cfg( any( target_arch = "riscv32" , target_arch = "riscv64" ) ) ]
12
12
( ) => mstatus:: clear_mie ( ) ,
13
13
#[ cfg( not( any( target_arch = "riscv32" , target_arch = "riscv64" ) ) ) ]
14
- ( ) => { }
14
+ ( ) => unimplemented ! ( ) ,
15
15
}
16
16
}
17
17
@@ -26,7 +26,7 @@ pub unsafe fn enable() {
26
26
#[ cfg( any( target_arch = "riscv32" , target_arch = "riscv64" ) ) ]
27
27
( ) => mstatus:: set_mie ( ) ,
28
28
#[ cfg( not( any( target_arch = "riscv32" , target_arch = "riscv64" ) ) ) ]
29
- ( ) => { }
29
+ ( ) => unimplemented ! ( ) ,
30
30
}
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments