From 4cbb34b996ab6b5cca1033d4349e46129f223960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rom=C3=A1n=20C=C3=A1rdenas=20Rodr=C3=ADguez?= Date: Fri, 5 Jul 2024 10:56:53 +0200 Subject: [PATCH] fix CI Co-authored-by: rmsyn <117854522+rmsyn@users.noreply.github.com> --- riscv-pac/macros/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/riscv-pac/macros/src/lib.rs b/riscv-pac/macros/src/lib.rs index 7924372a..212d5d7a 100644 --- a/riscv-pac/macros/src/lib.rs +++ b/riscv-pac/macros/src/lib.rs @@ -195,6 +195,7 @@ impl PacEnumItem { fn vector_table(&self) -> TokenStream2 { let mut asm = String::from( r#" +#[cfg(any(target_arch = "riscv32", target_arch = "riscv64"))] core::arch::global_asm!(" .section .trap, \"ax\" .global _vector_table