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

Fix panic in BufferContents derive expansion and wrong safety docs #2587

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

marc0246
Copy link
Contributor

This debug assert was checking a safety precondition that's too strong, while at the same time the documented safety preconditions were too weak (the pointer must have valid provenance since #2563).

@marc0246 marc0246 marked this pull request as draft October 22, 2024 12:05
@marc0246 marc0246 force-pushed the fix-derive-buffercontents branch from 853f6e4 to 3dac9a2 Compare October 22, 2024 12:07
@marc0246 marc0246 force-pushed the fix-derive-buffercontents branch from 3dac9a2 to 5326193 Compare October 22, 2024 12:08
@marc0246 marc0246 marked this pull request as ready for review October 22, 2024 12:11
@Rua Rua merged commit ba278ac into vulkano-rs:master Oct 22, 2024
6 checks passed
@marc0246 marc0246 deleted the fix-derive-buffercontents branch October 22, 2024 15:10
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