Opened 4 weeks ago

Closed 4 weeks ago

#20241 closed enhancement (fixed)

rust-bindgen-0.70.0

Reported by: Bruce Dubbs Owned by: Xi Ruoyao
Priority: normal Milestone: 12.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (4)

comment:1 by Xi Ruoyao, 4 weeks ago

0.70.0 (2024-08-16)

Added

  • Add target mappings for riscv64imac and riscv32imafc.
  • Add a complex macro fallback API (#2779).
  • Add option to use DST structs for flexible arrays (--flexarray-dst, #2772).
  • Add option to dynamically load variables (#2812).
  • Add option in CLI to use rustified non-exhaustive enums (--rustified-non-exhaustive-enum, #2847).

Changed

  • Remove which and lazy-static dependencies (#2809, #2817).
  • Generate compile-time layout tests (#2787).
  • Print bindgen-cli errors to stderr instead of stdout (#2840)

Fixed

  • Fix --formatter=prettyplease not working in bindgen-cli by adding prettyplease feature and enabling it by default for bindgen-cli (#2789) .
  • Fix --allowlist-item so anonymous enums are no longer ignored (#2827).
  • Use clang_getFileLocation instead of clang_getSpellingLocation to fix clang-trunk (#2824).
  • Fix generated constants: f64::INFINITY, f64::NEG_ INFINITY, f64::NAN (#2854).

Security

comment:2 by Xi Ruoyao, 4 weeks ago

Since in BLFS rust-bindgen is only used as a build tool I'll not consider this a security update.

comment:3 by Xi Ruoyao, 4 weeks ago

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

I've tested mesa and and it builds fine. No need to test Mozilla trios because they always use the shipped rust-bindgen copy.

comment:4 by Xi Ruoyao, 4 weeks ago

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