Skip to content

Conversation

@nicholasbishop
Copy link
Member

@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