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 static device UUID #481

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Remove static device UUID #481

merged 1 commit into from
Apr 24, 2024

Conversation

robin-nitrokey
Copy link
Member

This patch removes the static mut device UUID. This has multiple benefits: It removes some unsafe code, it makes the initialization order explicit and it makes the code compatible with Rust edition 2024.

@nitrokey-ci
Copy link
Collaborator

nitrokey-ci commented Apr 17, 2024

No significant changes.

Insignifcant changes
metric value change
binary-size-nk3am 1423270 🔴 +360 (+0.00%)
binary-size-nk3am-test 2022084 🔴 +810 (+0.00%)
binary-size-nk3xn 510256 🔴 +160 (+0.00%)
binary-size-nk3xn-test 547108 -24 (-0.00%)
binary-size-nkpk 736479 🔴 +360 (+0.00%)

This patch removes the static mut device UUID.  This has multiple
benefits:  It removes some unsafe code, it makes the initialization
order explicit and it makes the code compatible with Rust edition 2024.
@robin-nitrokey robin-nitrokey merged commit 22fc4da into main Apr 24, 2024
8 of 9 checks passed
@robin-nitrokey robin-nitrokey deleted the device-uuid branch April 24, 2024 12:27
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

Successfully merging this pull request may close these issues.

4 participants