File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 27
27
cargo install cargo-binutils
28
28
rustup component add llvm-tools-preview
29
29
- name : Check
30
- run : cargo check --features cortex-m -- target thumbv7em-none-eabi
30
+ run : cargo check --target thumbv7em-none-eabi
31
31
- name : Clippy
32
- run : cargo clippy --features cortex-m -- target thumbv7em-none-eabi
32
+ run : cargo clippy --target thumbv7em-none-eabi
33
33
- name : Format
34
34
run : cargo fmt
Original file line number Diff line number Diff line change @@ -15,5 +15,3 @@ default = ["erase-chip", "panic-handler"]
15
15
erase-chip = []
16
16
panic-handler = []
17
17
verify = []
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) -> ! {
21
21
unsafe {
22
22
#[ cfg( target_arch = "arm" ) ]
23
23
core:: arch:: asm!( "udf #0" ) ;
24
- #[ cfg( target_arch = "riscv32" ) ]
24
+ #[ cfg( any ( target_arch = "riscv32" , target_arch = "riscv64" ) ) ]
25
25
core:: arch:: asm!( "UNIMP" ) ;
26
26
core:: hint:: unreachable_unchecked ( ) ;
27
27
}
You can’t perform that action at this time.
0 commit comments