Skip to content

Commit f67216d

Browse files
committed
chore(deps,core)!: upgrade bitflags to ^2
<https://github.com/bitflags/bitflags/releases/tag/2.0.0>
1 parent 5cc295d commit f67216d

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/r3_core/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
### Changed
1111

1212
- **Breaking:** `{Bind,Hunk}Definer::zeroed` now requires `T: Zeroable` instead of `T: ZeroInit`.
13+
- **Breaking:** Upgrade `bitflags` to [`^2`](https://github.com/bitflags/bitflags/releases/tag/2.0.0), changing `EventGroupWaitFlags` in subtle ways:
14+
- It no longer exposes the `bits` field. Use the `bits` method to get a raw value.
15+
- The unsafe `from_bits_unchecked` method has been superseded by the safe `from_bits_retain` method.
1316

1417
### Added
1518

src/r3_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ svgbobdoc = { version = "0.3.0" }
2929
tokenlock = { version = "0.3.4", default-features = false }
3030
arrayvec = { version = "0.7.1", default-features = false }
3131
bytemuck = { version = "1.12.3", features = ["derive"] }
32-
bitflags = { version = "1.2.1" }
32+
bitflags = { version = "2.0.2" }
3333
macropol = { version = "0.1.2" }
3434
either = { version = "1.6.1", default-features = false }
3535
elain = { version = "0.3.0" }

src/r3_core/src/kernel/raw.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ bitflags::bitflags! {
388388
/// Options for [`EventGroup::wait`][1].
389389
///
390390
/// [1]: crate::kernel::event_group::EventGroupMethods::wait
391+
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
391392
pub struct EventGroupWaitFlags: u8 {
392393
/// Wait for all of the specified bits to be set.
393394
const ALL = 1 << 0;

0 commit comments

Comments
 (0)