diff --git a/src/register/stvec.rs b/src/register/stvec.rs index 276329e..d780795 100644 --- a/src/register/stvec.rs +++ b/src/register/stvec.rs @@ -39,7 +39,6 @@ write_csr!(0x105); /// Writes the CSR #[inline] -#[cfg_attr(not(any(target_arch = "riscv32", target_arch = "riscv64")), allow(unused_variables))] pub unsafe fn write(addr: usize, mode: TrapMode) { _write(addr + mode as usize); }