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

svd-rs: fix write constraint check #266

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

rmsyn
Copy link
Contributor

@rmsyn rmsyn commented Jul 21, 2024

Fixes the write constraint check to avoid a run-time panic when the bit-range width is set to 64.

Also avoids an unnecessary check, since all u64 values will be valid.

@rmsyn rmsyn requested a review from a team as a code owner July 21, 2024 04:26
Fixes the write constraint check to avoid a run-time panic when the
bit-range width is set to `64`.

Also avoids an unnecessary check, since all `u64` values will be valid.
@rmsyn rmsyn force-pushed the fixup/write-constraint-check branch from d2ad808 to 973a46c Compare July 21, 2024 04:32
@burrbull burrbull added this pull request to the merge queue Jul 21, 2024
Merged via the queue into rust-embedded:master with commit 943f458 Jul 21, 2024
7 checks passed
@rmsyn rmsyn deleted the fixup/write-constraint-check branch July 21, 2024 21:41
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