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

Conversation

stefano-garzarella
Copy link
Contributor

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

@00xc
Copy link
Member

00xc commented Aug 29, 2023

Can we also remove the warning suppression in this PR? This would need to be done in the Github Actions yaml and the pre-commit hook.

@stefano-garzarella
Copy link
Contributor Author

Can we also remove the warning suppression in this PR? This would need to be done in the Github Actions yaml and the pre-commit hook.

Ooops, I completely forgot about them.

Sure, so I'll add a new commit to this PR removing those suppressions!

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>
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
Copy link
Contributor Author

v2:

  • removed the warning suppression in the Github Actions yaml and the pre-commit hook

@00xc
Copy link
Member

00xc commented Aug 29, 2023

Looks good to me, thanks!

@joergroedel joergroedel merged commit dd2d701 into coconut-svsm:main Aug 31, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants