next.js
8ff308e8 - fix(turbo-tasks): Make vc types use repr(transparent) (#78327)

Commit
259 days ago
fix(turbo-tasks): Make vc types use repr(transparent) (#78327) I thought this was already here, but @lukesandberg pointed out it wasn't. I'm pretty sure we're doing transmutes in a few places that assume this, so we should have it. There's likely no change in behavior: The only sane memory layout for these types is the transparent one, but the annotation guarantees it for our unsafe code.
Author
bgw bgw
Parents
Loading