Opened 4 months ago

Closed 4 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: normal Keywords:
Cc:

Description

New minor version.

Change History (11)

comment:1 by Xi Ruoyao, 4 months ago

Owner: changed from blfs-book to Xi Ruoyao
Status: newassigned

comment:3 by Rahul Chandra, 4 months ago

I think we should just skip this one with that bad of a regression

in reply to:  2 ; comment:4 by zeckma, 4 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.

Last edited 4 months ago by zeckma (previous) (diff)

in reply to:  4 comment:5 by Xi Ruoyao, 4 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).

Last edited 4 months ago by Xi Ruoyao (previous) (diff)

comment:6 by Bruce Dubbs, 4 months ago

Summary: rust-bindgen-0.71.0rust-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:7 by Joe Locash, 4 months ago

Now at 0.71.1 and fixes the mesa issue.

comment:8 by Bruce Dubbs, 4 months ago

Summary: rust-bindgen-0.71.0 (Wait for next release)rust-bindgen-0.71.1

comment:9 by Xi Ruoyao, 4 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)

comment:10 by Xi Ruoyao, 4 months ago

0.71.1:

Fixed

  • Fix --version and --generate-shell-completions (#3040)

comment:11 by Xi Ruoyao, 4 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.