From 4b800a235a88f6cb571b1f08af1fd1bad7f216dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rom=C3=A1n=20C=C3=A1rdenas=20Rodr=C3=ADguez?= Date: Thu, 4 Jul 2024 19:32:19 +0200 Subject: [PATCH] add default feature to riscv --- riscv-rt/src/lib.rs | 2 -- riscv/Cargo.toml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/riscv-rt/src/lib.rs b/riscv-rt/src/lib.rs index 178abdb1..8fb212e0 100644 --- a/riscv-rt/src/lib.rs +++ b/riscv-rt/src/lib.rs @@ -534,8 +534,6 @@ pub unsafe extern "C" fn start_trap_rust(trap_frame: *const TrapFrame) { } } xcause::Trap::Exception(_) => ExceptionHandler(&*trap_frame), - } - } } } diff --git a/riscv/Cargo.toml b/riscv/Cargo.toml index 5e37ddd5..20b10518 100644 --- a/riscv/Cargo.toml +++ b/riscv/Cargo.toml @@ -20,6 +20,7 @@ targets = [ ] [features] +default = ["riscv-pac/default"] s-mode = [] critical-section-single-hart = ["critical-section/restore-state-bool"]