Lokathor/bytemuck

transmuting pointers is (or will be?) unsound

Lokathor opened this issue · 1 comments

Ref: rust-lang/unsafe-code-guidelines#286

It seems we'll have to remove the Pod impls for pointers.

  • this is a breaking change
  • this is "allowed" as a break because it's a Soundness fix.

We removed this and pushed those impls behind a feature gate with the word "unsound" in the name. best we're gonna do in version 1 guess.