From 39b3905950a46471b69800ae90d8152a60d45f8f Mon Sep 17 00:00:00 2001 From: Burkhard Mittelbach Date: Thu, 27 Nov 2025 11:51:46 +0100 Subject: [PATCH] derive Clone and Copy for InterruptStackFrame --- src/structures/idt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/idt.rs b/src/structures/idt.rs index 9ddb8e8e..61839158 100644 --- a/src/structures/idt.rs +++ b/src/structures/idt.rs @@ -1014,6 +1014,7 @@ impl EntryOptions { /// This wrapper type ensures that no accidental modification of the interrupt stack frame /// occurs, which can cause undefined behavior (see the [`as_mut`](InterruptStackFrame::as_mut) /// method for more information). +#[derive(Clone, Copy)] #[repr(transparent)] pub struct InterruptStackFrame(InterruptStackFrameValue);