nitrokey-3-firmware
nitrokey-3-firmware copied to clipboard
Remove usage of `static mut`
This can be replaced by UnsafeCell<T>
. Ideally even a wrapper like Wrapper(AtomicBool, UnsafeCell<T>)
that allows the reference to be taken only once.
https://github.com/Nitrokey/nitrokey-3-firmware/pull/481 removes DEVICE_UUID
.
https://github.com/Nitrokey/nitrokey-3-firmware/pull/482 removes the statics in boards::store
at the cost of increased binary size.