Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bitflags crate to 2.4.0 #80

Merged
merged 2 commits into from
Aug 31, 2023

Commits on Aug 29, 2023

  1. Update bitflags crate to 2.4.0

    Commit a94d48d ("SVSM/sev/utils: Suppress clippy::bad_bit_mask errors")
    was necessary because we use an older version of bitflags.
    As suggested in this [1] bitflags issue, let's switch to the latest
    version available. In this way we can avoid to suppress
    clippy::bad_bit_mask.
    
    Just minor adjustments are needed to support bitflags 2.4.0.
    
    [1] bitflags/bitflags#373
    
    Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
    stefano-garzarella committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    6aa2b17 View commit details
    Browse the repository at this point in the history
  2. Avoid clippy::bad_bit_mask suppression

    With the new version of `bitflags` we no longer need to suppress
    the `clippy::bad_bit_mask` warnings.
    
    Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
    stefano-garzarella committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    58b9635 View commit details
    Browse the repository at this point in the history