Skip to content

Commit c8e3fd4

Browse files
committed
Remove feature flags and add rv64
1 parent d140381 commit c8e3fd4

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
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

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ default = ["erase-chip", "panic-handler"]
1515
erase-chip = []
1616
panic-handler = []
1717
verify = []
18-
cortex-m = []
19-
risc-v = []

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy