Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit 8940c39

Browse files
authored
Merge pull request #37 from pftbest/master
Put global asm behind target cfg
2 parents a141729 + 9f4508a commit 8940c39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ unsafe extern "C" fn reset_handler() -> ! {
372372
}
373373
}
374374

375+
#[cfg(target_arch = "arm")]
375376
global_asm!(r#"
376377
.weak NMI
377378
NMI = DEFAULT_HANDLER

0 commit comments

Comments
 (0)