Skip to content

add #[non_exhaustive] to SpirvBuilder and all dependent structs #265

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

Firestar99
Copy link
Member

@Firestar99 Firestar99 commented Jun 2, 2025

After some discussions on cargo-gpu, we decided that all public cargo gpu structs will be #[non_exhaustive], even if that disallows users from using the struct update syntax. But as we reexport SpirvBuilder, we also need it and all of its member structs to be #[non_exhaustive].

@Firestar99 Firestar99 added this pull request to the merge queue Jun 3, 2025
Merged via the queue into main with commit 369122e Jun 3, 2025
7 checks passed
@Firestar99 Firestar99 deleted the non_exhaustive branch June 3, 2025 11:34
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