We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9aadad7 + 616391e commit e41d989Copy full SHA for e41d989
cortex-m-rt/macros/src/lib.rs
@@ -85,7 +85,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
85
{
86
#(#attrs)*
87
static mut #ident: #ty = #expr;
88
- &mut #ident
+ unsafe { &mut #ident }
89
}
90
91
})
@@ -487,7 +487,7 @@ pub fn exception(args: TokenStream, input: TokenStream) -> TokenStream {
487
488
489
490
491
492
493
@@ -598,7 +598,7 @@ pub fn interrupt(args: TokenStream, input: TokenStream) -> TokenStream {
598
599
600
601
602
603
604
0 commit comments