Skip to content

Prevent duplicate attributes#117

Merged
caibear merged 1 commit into
mainfrom
prevent_duplicate_attributes
Jun 27, 2026
Merged

Prevent duplicate attributes#117
caibear merged 1 commit into
mainfrom
prevent_duplicate_attributes

Conversation

@caibear

@caibear caibear commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Fixes duplicate attributes being allowed for #[bitcode(skip)] and #[bitcode(crate = "my_crate::bitcode")].
This is technically a breaking change, but it was never documented as supported so I think it's fine.

Additionally refactors attributes to be more type safe and avoid function argument creep which started with crate_name being passed to most functions.

@caibear caibear merged commit 45f8103 into main Jun 27, 2026
3 checks passed
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