Skip to content

Conversation

nicoburns
Copy link
Collaborator

@nicoburns nicoburns commented Aug 7, 2025

Ensure's that methods defined by the bitflags crate (all, contains, empty, etc) take into account the possibility of externally set bits. See: https://docs.rs/bitflags/latest/bitflags/#externally-defined-flags

Copy link
Contributor

@Loirooriol Loirooriol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC in some places we were using truncate() or such to remove external bits. Seems your patch would break that.

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