Skip to content

Conversation

phip1611
Copy link
Member

From my personal experience, the this type should implement debug but this not consideration is not worth it. I think, everything should be Debug, except for sensitive data (such as keys). I often found it frustrating when libraries I used didn't implement Debug for all the types.

From a short testing, this didn't change the file size of the uefi runner app. Hence, the overhead is negligible.

What do you think?

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

@phip1611 phip1611 requested a review from nicholasbishop March 19, 2023 21:21
Exceptions are some union types.
@phip1611 phip1611 merged commit ca0ed0e into rust-osdev:main Mar 24, 2023
@phip1611 phip1611 deleted the debug-everywhere branch April 2, 2023 13:47
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.

2 participants