We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ce011 commit 616391eCopy full SHA for 616391e
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
})
@@ -486,7 +486,7 @@ pub fn exception(args: TokenStream, input: TokenStream) -> TokenStream {
486
487
488
489
490
491
492
@@ -596,7 +596,7 @@ pub fn interrupt(args: TokenStream, input: TokenStream) -> TokenStream {
596
597
598
599
600
601
602
0 commit comments