Skip to content

Commit d6a69fe

Browse files
committed
Allow #[naked] attribute on interrupt handlers and pre_init
1 parent 70b4d4c commit d6a69fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cortex-m-rt/macros/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ fn check_attr_whitelist(attrs: &[Attribute], caller: WhiteListCaller) -> Result<
612612
"deny",
613613
"forbid",
614614
"cold",
615+
"naked",
615616
];
616617

617618
'o: for attr in attrs {

0 commit comments

Comments
 (0)