We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54bf600 commit ca92a84Copy full SHA for ca92a84
fast-trap/src/hal/riscv/mod.rs
@@ -108,7 +108,7 @@ impl FlowContext {
108
/// # Safety
109
///
110
/// See [proto](crate::hal::doc::reuse_stack_for_trap).
111
-#[naked]
+#[unsafe(naked)]
112
pub unsafe extern "C" fn reuse_stack_for_trap() {
113
const LAYOUT: Layout = Layout::new::<TrapHandler>();
114
unsafe {
@@ -126,7 +126,7 @@ pub unsafe extern "C" fn reuse_stack_for_trap() {
126
127
128
/// See [proto](crate::hal::doc::trap_entry).
129
130
pub unsafe extern "C" fn trap_entry() {
131
132
core::arch::naked_asm!(
0 commit comments