Skip to content

Commit

Permalink
Don't need both no_mangle and export_name (#817)
Browse files Browse the repository at this point in the history
Fix for clippy lints

- [x] no changelog update needed
  • Loading branch information
gwilymk authored Dec 11, 2024
2 parents 330671c + 384d91f commit 6a91263
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 6a91263

Please sign in to comment.