Closed ydirson closed 1 year ago
Hi and thanks for the PR. What will updating bitflags to v2 give us?
Hi and thanks for the PR. What will updating bitflags to v2 give us?
Probably nothing for "us". But most other crates have moved to bitflags 2, so if sysctl-rs upgrades as well, then other projects won't have to build bitflags twice.
For example, the following all use bitflags 2:
Thanks for the clarification! I'll merge this and get a new version pushed to crates.io.
What was up with the failure on nightly? It looked like a proc macro was out of date or something.
From https://github.com/bitflags/bitflags/releases/tag/2.0.0 the only breaking change appears to be on .bits