Recommended update for rust-cbindgen

Announcement ID: SUSE-RU-2023:2560-1
Rating: moderate
References:
Affected Products:
  • openSUSE Leap 15.4
  • openSUSE Leap 15.5
  • SUSE Linux Enterprise Desktop 15 SP5
  • SUSE Linux Enterprise High Performance Computing 15 SP5
  • SUSE Linux Enterprise Micro 5.5
  • SUSE Linux Enterprise Real Time 15 SP5
  • SUSE Linux Enterprise Server 15 SP5
  • SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • SUSE Package Hub 15 15-SP5

An update that can now be installed.

Description:

This update for rust-cbindgen fixes the following issues:

Update to version 0.24.3+git0:

  • tests: Add a test for struct constants going through typedefs.
  • bindings: Peel through typedefs for struct constant generation.
  • bitflags: Be explicit in binary operators and such.
  • constant: Add support for unary negation.
  • bitflags: Make more operations constexpr.

Update to version 0.24.2+git0:

  • bitflags: Be explicit in binary operators and such.
  • constant: Add support for unary negation.
  • bitflags: Make more operations constexpr.
  • constant: Support suffixes for integers that otherwise would be narrowed.
  • Fix specialization of SomeType<N> when N is a const parameter.
  • Minor refactor of ConstExpr::load().

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.4
    zypper in -t patch openSUSE-SLE-15.4-2023-2560=1
  • openSUSE Leap 15.5
    zypper in -t patch openSUSE-SLE-15.5-2023-2560=1
  • SUSE Package Hub 15 15-SP5
    zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2023-2560=1

Package List:

  • openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
    • rust-cbindgen-debuginfo-0.24.3+git0-150000.1.15.1
    • rust-cbindgen-0.24.3+git0-150000.1.15.1
  • openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
    • rust-cbindgen-debuginfo-0.24.3+git0-150000.1.15.1
    • rust-cbindgen-0.24.3+git0-150000.1.15.1
  • SUSE Package Hub 15 15-SP5 (aarch64 ppc64le s390x x86_64)
    • rust-cbindgen-debuginfo-0.24.3+git0-150000.1.15.1
    • rust-cbindgen-0.24.3+git0-150000.1.15.1