Skip to content

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Aug 28, 2025

The transmute required that the alignment of bytes was correct, but nothing checked this. Use object::pod::from_bytes which does the transmute and includes this check.

The transmute required that the alignment of bytes was correct,
but nothing checked this. Use `object::pod::from_bytes` which
does the transmute and includes this check.
@philipc
Copy link
Contributor Author

philipc commented Aug 28, 2025

This is compile tested only.

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.

1 participant