Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of static mut #465

Open
sosthene-nitrokey opened this issue Mar 28, 2024 · 2 comments
Open

Remove usage of static mut #465

sosthene-nitrokey opened this issue Mar 28, 2024 · 2 comments

Comments

@sosthene-nitrokey
Copy link
Collaborator

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.

@robin-nitrokey
Copy link
Member

#481 removes DEVICE_UUID.

@robin-nitrokey
Copy link
Member

#482 removes the statics in boards::store at the cost of increased binary size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants