Recommended update for rust, rust1.68

Announcement ID: SUSE-RU-2023:1765-1
Rating: moderate
References:
Affected Products:
  • Development Tools Module 15-SP4
  • openSUSE Leap 15.4
  • SUSE Linux Enterprise Desktop 15 SP4
  • SUSE Linux Enterprise High Performance Computing 15 SP4
  • SUSE Linux Enterprise Real Time 15 SP4
  • SUSE Linux Enterprise Server 15 SP4
  • SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • SUSE Manager Proxy 4.3
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.3

An update that contains one feature can now be installed.

Description:

This update for rust, rust1.68 fixes the following issues:

Changes in rust:

  • Update to version 1.68.0 - for details see the rust1.68 package

Changes in rust1.68:

  • Re-add obsoletes on rust1.62 to prevent file conflicts.

Version 1.68.0 (2023-03-09)

Language

  • Stabilize default_alloc_error_handler This allows usage of alloc on stable without requiring the definition of a handler for allocation failure. Defining custom handlers is still unstable.
  • Stabilize efiapi calling convention.
  • Remove implicit promotion for types with drop glue

Compiler

  • Change bindings_with_variant_name to deny-by-default
  • Allow .. to be parsed as let initializer
  • Add armv7-sony-vita-newlibeabihf as a tier 3 target
  • Always check alignment during compile-time const evaluation
  • Disable "split dwarf inlining" by default.
  • Add vendor to Fuchsia's target triple
  • Enable sanitizers for s390x-linux

Libraries

  • Loosen the bound on the Debug implementation of Weak.
  • Make std::task::Context !Send and !Sync
  • PhantomData layout guarantees
  • Don't derive Debug for OnceWith & RepeatWith
  • Implement DerefMut for PathBuf
  • Add O(1) Vec -> VecDeque conversion guarantee
  • Leak amplification for peek_mut() to ensure BinaryHeap's invariant is always met

Stabilized APIs

  • {core,std}::pin::pin!
  • impl From<bool> for {f32,f64}
  • std::path::MAIN_SEPARATOR_STR
  • impl DerefMut for PathBuf

These APIs are now stable in const contexts:

  • VecDeque::new

Cargo

  • Stabilize sparse registry support for crates.io
  • cargo build --verbose tells you more about why it recompiles.
  • Show progress of crates.io index update even net.git-fetch-with-cli option enabled <a id="1.68.0-Misc"></a>

Misc

Compatibility Notes

  • Add SEMICOLON_IN_EXPRESSIONS_FROM_MACROS to future-incompat report
  • Only specify --target by default for -Zgcc-ld=lld on wasm
  • Bump IMPLIED_BOUNDS_ENTAILMENT to Deny + ReportNow
  • std::task::Context no longer implements Send and Sync

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-1765=1
  • Development Tools Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP4-2023-1765=1

Package List:

  • openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
    • rust-1.68.0-150400.24.12.1
    • rust1.68-debuginfo-1.68.0-150400.9.3.1
    • cargo-1.68.0-150400.24.12.1
    • cargo1.68-debuginfo-1.68.0-150400.9.3.1
    • cargo1.68-1.68.0-150400.9.3.1
  • openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64 nosrc)
    • rust1.68-1.68.0-150400.9.3.1
  • Development Tools Module 15-SP4 (aarch64 ppc64le s390x x86_64)
    • rust-1.68.0-150400.24.12.1
    • rust1.68-debuginfo-1.68.0-150400.9.3.1
    • cargo-1.68.0-150400.24.12.1
    • cargo1.68-debuginfo-1.68.0-150400.9.3.1
    • cargo1.68-1.68.0-150400.9.3.1
  • Development Tools Module 15-SP4 (aarch64 ppc64le s390x x86_64 nosrc)
    • rust1.68-1.68.0-150400.9.3.1

References: