File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2727 cargo install cargo-binutils
2828 rustup component add llvm-tools-preview
2929 - name : Check
30- run : cargo check --features cortex-m -- target thumbv7em-none-eabi
30+ run : cargo check --target thumbv7em-none-eabi
3131 - name : Clippy
32- run : cargo clippy --features cortex-m -- target thumbv7em-none-eabi
32+ run : cargo clippy --target thumbv7em-none-eabi
3333 - name : Format
3434 run : cargo fmt
Original file line number Diff line number Diff line change @@ -15,5 +15,3 @@ default = ["erase-chip", "panic-handler"]
1515erase-chip = []
1616panic-handler = []
1717verify = []
18- cortex-m = []
19- risc-v = []
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ fn panic(_info: &core::panic::PanicInfo) -> ! {
2121 unsafe {
2222 #[ cfg( target_arch = "arm" ) ]
2323 core:: arch:: asm!( "udf #0" ) ;
24- #[ cfg( target_arch = "riscv32" ) ]
24+ #[ cfg( any ( target_arch = "riscv32" , target_arch = "riscv64" ) ) ]
2525 core:: arch:: asm!( "UNIMP" ) ;
2626 core:: hint:: unreachable_unchecked ( ) ;
2727 }
You can’t perform that action at this time.
0 commit comments