Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add standard derives for VariableKey
  • Loading branch information
nicholasbishop committed Jul 21, 2024
commit 80a8923ccd0675ee60d7e8767eceac5b049cd0c4
1 change: 1 addition & 0 deletions uefi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Add standard derives for `ConfigTableEntry`.
- `PcrEvent`/`PcrEventInputs` impl `Align`, `Eq`, and `PartialEq`.
- Added `PcrEvent::new_in_box` and `PcrEventInputs::new_in_box`.
- `VariableKey` impls `Clone`, `Eq`, `PartialEq`, `Ord`, `PartialOrd`, and `Hash`.

## Changed
- **Breaking:** `uefi::helpers::init` no longer takes an argument.
Expand Down
2 changes: 1 addition & 1 deletion uefi/src/table/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ impl TryFrom<&[u8]> for Time {

/// Unique key for a variable.
#[cfg(feature = "alloc")]
#[derive(Debug)]
#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct VariableKey {
pub(crate) name: Vec<u16>,
/// Unique identifier for the vendor.
Expand Down