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

uefi: Add ptr_meta dependency #621

Merged

Conversation

nicholasbishop
Copy link
Contributor

@nicholasbishop nicholasbishop commented Dec 30, 2022

The ptr_meta crate (https://docs.rs/ptr_meta) is a polyfill for the unstable ptr_metadata feature on stable Rust. This allows us to drop use of an unstable feature with fairly minimal code changes; mostly just adding a derive for the Pointee type on some DST structs.

#452

Checklist

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

The `ptr_meta` crate (https://docs.rs/ptr_meta) is a polyfill for the unstable
[`ptr_metadata`](rust-lang/rust#81513) feature on
stable Rust. This allows us to drop use of an unstable feature with fairly
minimal code changes; mostly just adding a derive for the `Pointee` type on some
DST structs.
@nicholasbishop nicholasbishop merged commit 761bed9 into rust-osdev:main Dec 31, 2022
@nicholasbishop nicholasbishop deleted the bishop-stable-ptr-meta branch December 31, 2022 03:58
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.

2 participants