Skip to content

Commit 4348523

Browse files
committed
codegen: Revert some bitfield codegen changes and silence unnecessary_transmutes instead.
This reverts commits a502187 and 01d65d9, because it breaks when the bitfield is a newtype enum, and adds a test for that. Fixes #3454.
1 parent efb6e0c commit 4348523

47 files changed

Lines changed: 5872 additions & 2236 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bindgen-tests/tests/expectations/tests/align_bitfields_32bit.rs

Lines changed: 22 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)