Recommended update for rust, rust1.68
| Announcement ID: | SUSE-RU-2023:1765-1 |
|---|---|
| Rating: | moderate |
| References: | |
| Affected Products: |
|
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
allocon stable without requiring the definition of a handler for allocation failure. Defining custom handlers is still unstable. - Stabilize
efiapicalling convention. - Remove implicit promotion for types with drop glue
Compiler
- Change
bindings_with_variant_nameto deny-by-default - Allow .. to be parsed as let initializer
- Add
armv7-sony-vita-newlibeabihfas 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 -> VecDequeconversion 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_STRimpl DerefMut for PathBuf
These APIs are now stable in const contexts:
VecDeque::new
Cargo
- Stabilize sparse registry support for crates.io
cargo build --verbosetells you more about why it recompiles.- Show progress of crates.io index update even
net.git-fetch-with-clioption enabled <a id="1.68.0-Misc"></a>
Misc
Compatibility Notes
- Add
SEMICOLON_IN_EXPRESSIONS_FROM_MACROSto future-incompat report - Only specify
--targetby default for-Zgcc-ld=lldon wasm - Bump
IMPLIED_BOUNDS_ENTAILMENTto Deny + ReportNow std::task::Contextno 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