Skip to content

Commit fc747b7

Browse files
committed
codegen: Bump minimum stable target.
Supporting const generics significantly simplifies some upcoming correctness fixes, and rust 1.51 is more than four years old at this point. This highlighted some issues with some of the features that we've implemented since (e.g. the code to generate partialeq was broken in a lot of cases).
1 parent 2426dd6 commit fc747b7

File tree

101 files changed

+2180
-2866
lines changed

Some content is hidden

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

101 files changed

+2180
-2866
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@
229229
## Added
230230
## Changed
231231
## Removed
232+
- Removed support for generating code for rustc versions < 1.51.
232233
## Fixed
233234
- Typo in code for `--rustified-non-exhaustive-enums` (#3266)
234235
## Security

bindgen-tests/tests/expectations/tests/attribute_warn_unused_result.rs

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

bindgen-tests/tests/expectations/tests/attribute_warn_unused_result_no_attribute_detection.rs

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

bindgen-tests/tests/expectations/tests/bindgen-union-inside-namespace.rs

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

0 commit comments

Comments
 (0)