You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
251: Note on transformation of static variables by attribute exception r=therealprof a=hyperslv
Hi All
The "// `COUNT` has type `&mut u32` and it's safe to use" comment confused me since I did not expect that transformation of the source code so deep comparing with the C language.
Finally I found how it (works)[https://docs.rs/cortex-m-rt-macros/0.1.5/src/cortex_m_rt_macros/lib.rs.html#447].
This PR is to provide a note about the transformation.
Thanks, Slava
Co-authored-by: hyperslv <hyper.slv@gmail.com>
Co-authored-by: hyperslv <57301860+hyperslv@users.noreply.github.com>
0 commit comments