Skip to content

Derive Debug in more places (requires Rust 1.70) #851

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

Merged
merged 4 commits into from
Aug 24, 2023

Conversation

nicholasbishop
Copy link
Member

As of Rust 1.70, deriving Debug on efiapi function pointers is supported. That means we can derive Debug in a lot more places (tables and protocols).

This requires an MSRV bump to 1.70, so per https://github.com/rust-osdev/uefi-rs/blob/main/uefi/README.md#msrv we should wait until Rust 1.72 is released to merge this.

Checklist

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

Sorry, something went wrong.

@nicholasbishop nicholasbishop force-pushed the bishop-auto-dbg branch 2 times, most recently from 1663f83 to e7310fc Compare August 16, 2023 16:00
@nicholasbishop nicholasbishop force-pushed the bishop-auto-dbg branch 2 times, most recently from 09362b2 to 8d47b8c Compare August 24, 2023 00:47
@nicholasbishop nicholasbishop marked this pull request as ready for review August 24, 2023 17:50
Note that this requires rust>=1.70 for deriving `Debug` on `efiapi` function
pointers.
Note that this requires rust>=1.70 for deriving `Debug` on `efiapi` function
pointers.
Note that this requires rust>=1.70 for deriving `Debug` on `efiapi` function
pointers.
@nicholasbishop nicholasbishop added this pull request to the merge queue Aug 24, 2023
Merged via the queue into rust-osdev:main with commit 1dde973 Aug 24, 2023
@phip1611
Copy link
Member

Nice! :) thanks for taking care of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants