Skip to content

Commit 4b800a2

Browse files
committed
add default feature to riscv
1 parent 7c54dab commit 4b800a2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

riscv-rt/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,6 @@ pub unsafe extern "C" fn start_trap_rust(trap_frame: *const TrapFrame) {
534534
}
535535
}
536536
xcause::Trap::Exception(_) => ExceptionHandler(&*trap_frame),
537-
}
538-
}
539537
}
540538
}
541539

riscv/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ targets = [
2020
]
2121

2222
[features]
23+
default = ["riscv-pac/default"]
2324
s-mode = []
2425
critical-section-single-hart = ["critical-section/restore-state-bool"]
2526

0 commit comments

Comments
 (0)