Opened 22 months ago
Closed 22 months ago
#20765 closed enhancement (fixed)
rust-bindgen-0.71.1
| Reported by: | Bruce Dubbs | Owned by: | Xi Ruoyao |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.3 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
New minor version.
Change History (11)
comment:1 by , 22 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
follow-up: 4 comment:2 by , 22 months ago
follow-up: 5 comment:4 by , 22 months ago
Replying to Xi Ruoyao:
Mesa FTBFS: https://github.com/rust-lang/rust-bindgen/issues/3039
rust-bindgen 0.70 upwards has caused lib32-mesa for me to FTBFS because it would generate bindings that went out of bounds. I forget the exact error. So I just stuck with the 0.69 series. The attached issue you sent is completely unrelated to the issues I have with 0.70 upwards but unfortunate.
comment:5 by , 22 months ago
Replying to zeckma:
Replying to Xi Ruoyao:
Mesa FTBFS: https://github.com/rust-lang/rust-bindgen/issues/3039
rust-bindgen 0.70 upwards has caused lib32-mesa for me to FTBFS because it would generate bindings that went out of bounds. I forget the exact error. So I just stuck with the 0.69 series. The attached issue you sent is completely unrelated to the issues I have with 0.70 upwards but unfortunate.
I do build and ninja test the NVK driver whenever I upgrade rustc or rust-bindgen, so I'm just reporting the regression in the new release. I don't test multilib or 32-bit system though :(, and when we discussed 32-bit support last time we decided that LFS still supports 32-bit (i.e. we need to test a 32-bit build before making a LFS stable release), but BLFS does not really support 32-bit (i.e. when we find a issue on 32-bit we still attempt to fix it, but we don't guarantee we'll find and fix all of them).
comment:6 by , 22 months ago
| Summary: | rust-bindgen-0.71.0 → rust-bindgen-0.71.0 (Wait for next release) |
|---|
Looking at the rust-bindgen issue above, it looks like upstream has fixed the problem. Marking as waiting for next release.
comment:8 by , 22 months ago
| Summary: | rust-bindgen-0.71.0 (Wait for next release) → rust-bindgen-0.71.1 |
|---|
comment:9 by , 22 months ago
0.71.0:
Added
- Add the ParseCallbacks::new_item_found callback to expose the original and final name of structs, unions and enums (
#2658). - Add the field_type_name field to FieldInfo to expose the name of the type of a field (
#2863) - Add support for custom attributes with the --with-attribute-custom flag (
#2866) - Allow setting --rust-target to any Rust version supported by bindgen (
#2993) - Use c-string literals if the --generate-cstr flag is used for Rust targets after 1.77 under the 2021 edition (
#2996) - Add the --rust-edition flag which allows to select which Rust edition to target. (
#3002, #3013) - Use unsafe extern instead of extern in blocks for any Rust target after 1.82. (
#3015)
Changed
- The --wrap-static-fns related options no longer require the experimental feature or flag (
#2928) - Use the Display implementation instead of the Debug one for BindgenError in bindgen-cli (
#3005)
Removed
- Dropped support for any Clang versions strictly lower than 9.0 (
#2932) - Dropped support for any Rust version strictly lower than 1.33 (
#2993)

Mesa FTBFS: https://github.com/rust-lang/rust-bindgen/issues/3039