Skip to content

Commit

Permalink
Don't need both no_mangle and export_name
Browse files Browse the repository at this point in the history
  • Loading branch information
gwilymk committed Dec 11, 2024
1 parent 330671c commit 384d91f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion agb/src/interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ static INTERRUPT_TABLE: SyncUnsafeCell<[InterruptRoot; 14]> = SyncUnsafeCell::ne
InterruptRoot::new(Interrupt::Gamepak),
]);

#[no_mangle]
#[export_name = "__RUST_INTERRUPT_HANDLER"]
extern "C" fn interrupt_handler(interrupt: u16) -> u16 {
for (i, root) in unsafe { &mut *INTERRUPT_TABLE.get() }.iter().enumerate() {
Expand Down

0 comments on commit 384d91f

Please sign in to comment.