HybridBar
HybridBar copied to clipboard
Bump enumflags2 from 0.7.5 to 0.7.7
Bumps enumflags2 from 0.7.5 to 0.7.7.
Release notes
Sourced from enumflags2's releases.
Release 0.7.7
This release fixes a soundness issue in the
make_bitflags!
macro. Previously, code like this was accepted:#[bitflags] #[repr(u8)] #[derive(Copy, Clone, Debug)] enum Test { A = 1, B = 2, }
impl Test { const C: u8 = 69; }
fn main() { let x = make_bitflags!(Test::{C}); }
Iterating over
x
would then create values ofTest
with bit patterns that don't correspond to any of the variants, which is undefined behavior.This bug has been introduced in 0.7.0, together with the
make_bitflags!
macro itself.I don't think it is likely that this was actually present in anyone's code, but in an abundance of caution, I have yanked all affected versions.
Release 0.7.6
- Update to
syn
2.0 (thanks to@mwkmwkmwk
)- Bump MSRV to 1.56.0 to support the above
- Update crate metadata to compensate for gender drift :3
Commits
687709f
Release 0.7.724b13aa
Make make_bitflags! sound even when dirty tricks are employed467fe56
Deploy tactical nuclear warhead on comment682237c
Release 0.7.6e58ea05
Clean-up following MSRV bump67704d7
Compensate for gender drift :3dcf373d
Bump MSRV in CIf50c416
Fix new clippy warningsd8532ef
Fix trybuild driftd43378e
Update syn to v2- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.