Skip to content

Commit 4cbb34b

Browse files
romancardenasrmsyn
andauthored
fix CI
Co-authored-by: rmsyn <[email protected]>
1 parent 4e1544f commit 4cbb34b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

riscv-pac/macros/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ impl PacEnumItem {
195195
fn vector_table(&self) -> TokenStream2 {
196196
let mut asm = String::from(
197197
r#"
198+
#[cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
198199
core::arch::global_asm!("
199200
.section .trap, \"ax\"
200201
.global _vector_table

0 commit comments

Comments
 (0)