nitrokey-3-firmware icon indicating copy to clipboard operation
nitrokey-3-firmware copied to clipboard

Remove usage of `static mut`

Open sosthene-nitrokey opened this issue 5 months ago • 2 comments

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.

sosthene-nitrokey avatar Mar 28 '24 13:03 sosthene-nitrokey