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

deps: bump bitflags from 1.0 to 2.1 #714

Merged
merged 2 commits into from May 10, 2023

Conversation

phip1611
Copy link
Contributor

This updates bitflags from version 1 to version 2.

TL;DR: Now every struct needs to manually implement copy, clone, partial ord, etc.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

@nicholasbishop
Copy link
Contributor

I think we should hold off on updating bitflags until bitflags/bitflags#320 is resolved, otherwise some of our documentation will disappear.

@nicholasbishop
Copy link
Contributor

The documentation bug in bitflags should be fixed with 2.1.0.

@phip1611
Copy link
Contributor Author

phip1611 commented Apr 6, 2023

cargo xtask doc now outputs this:

image

It seems to me that there is a bug with intra-doc links in bitflags.

@phip1611 phip1611 force-pushed the bitflags-update branch 2 times, most recently from 48bb44a to 0a43190 Compare April 6, 2023 16:22
@phip1611
Copy link
Contributor Author

phip1611 commented Apr 6, 2023

Please review again.

uefi/src/proto/tcg/v1.rs Outdated Show resolved Hide resolved
uefi/src/proto/media/partition.rs Outdated Show resolved Hide resolved
@phip1611 phip1611 force-pushed the bitflags-update branch 2 times, most recently from 8e9358d to 372ee1b Compare April 11, 2023 10:30
@phip1611 phip1611 changed the title Bitflags update deps: bump bitflags from 1.0 to 2.1 Apr 11, 2023
@phip1611 phip1611 force-pushed the bitflags-update branch 2 times, most recently from 1f30421 to d6f11c8 Compare April 11, 2023 10:57
@phip1611
Copy link
Contributor Author

phip1611 commented May 9, 2023

Something is strange with github.. I can't (force) push.

image

Will try again in a couple of hours, tho

PS: There is a github outage indeed https://www.githubstatus.com/

@phip1611
Copy link
Contributor Author

phip1611 commented May 9, 2023

I think this is now also ready :) @nicholasbishop

CHANGELOG.md Outdated Show resolved Hide resolved
@phip1611 phip1611 marked this pull request as draft May 9, 2023 19:59
@phip1611 phip1611 marked this pull request as ready for review May 10, 2023 06:11
We skip 2.0.0 as it has a bug and "cargo doc" doesn't include
generated documentation.
@nicholasbishop nicholasbishop merged commit 039d6a9 into rust-osdev:main May 10, 2023
10 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

2 participants