Recommended update for rust, rust1.75
| Announcement ID: | SUSE-RU-2024:0080-1 |
|---|---|
| Rating: | moderate |
| References: | |
| Affected Products: |
|
An update that contains one feature can now be installed.
Description:
This update for rust, rust1.75 fixes the following issues:
This update ships rust 1.75.
Version 1.75.0 (2023-12-28)
Language
- Stabilize
async fnand return-positionimpl Traitin traits. - Allow function pointer signatures containing
&mut Tinconstcontexts. - Match
usize/isizeexhaustively with half-open ranges. - Guarantee that
charhas the same size and alignment asu32. - Document that the null pointer has the 0 address.
- Allow partially moved values in
match. - Add notes about non-compliant FP behavior on 32bit x86 targets.
- Stabilize ratified RISC-V target features.
Compiler
- Rework negative coherence to properly consider impls that only partly overlap.
- Bump
COINDUCTIVE_OVERLAP_IN_COHERENCEto deny, and warn in dependencies. - Consider alias bounds when computing liveness in NLL.
- Add the V (vector) extension to the
riscv64-linux-androidtarget spec. - Automatically enable cross-crate inlining for small functions
Libraries
- Override
Waker::clone_fromto avoid cloningWakers unnecessarily. - Implement
BufReadforVecDeque<u8>. - Implement
FusedIteratorforDecodeUtf16when the inner iterator does. - Implement
Not, Bit{And,Or}{,Assign}for IP addresses. - Implement
DefaultforExitCode. - Guarantee representation of None in NPO
- Document when atomic loads are guaranteed read-only.
- Broaden the consequences of recursive TLS initialization.
- Windows: Support sub-millisecond sleep.
- Fix generic bound of
str::SplitInclusive'sDoubleEndedIteratorimpl - Fix exit status / wait status on non-Unix
cfg(unix)platforms.
Stabilized APIs
Atomic*::from_ptrFileTimesFileTimesExtFile::set_modifiedFile::set_timesIpAddr::to_canonicalIpv6Addr::to_canonicalOption::as_sliceOption::as_mut_slicepointer::byte_addpointer::byte_offsetpointer::byte_offset_frompointer::byte_subpointer::wrapping_byte_addpointer::wrapping_byte_offsetpointer::wrapping_byte_sub
These APIs are now stable in const contexts:
Ipv6Addr::to_ipv4_mappedMaybeUninit::assume_init_readMaybeUninit::zeroedmem::discriminantmem::zeroed
Cargo
- Add new packages to `[workspace.members
- Allow version-less
Cargo.tomlmanifests. - Make browser links out of HTML file paths.
Rustdoc
- Accept less invalid Rust in rustdoc.
- Document lack of object safety on affected traits.
- Hide `#[repr(transparent)
- Show enum discriminant if it is a C-like variant.
Compatibility Notes
- Make misalignment a hard error in
constcontexts. - Fix detecting references to packed unsized fields.
- Remove support for compiler plugins.
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.5
zypper in -t patch SUSE-2024-80=1 openSUSE-SLE-15.5-2024-80=1 -
Development Tools Module 15-SP5
zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP5-2024-80=1
Package List:
-
openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 i586)
- cargo-1.75.0-150500.27.3.1
- cargo1.75-debuginfo-1.75.0-150500.11.3.1
- rust-1.75.0-150500.27.3.1
- cargo1.75-1.75.0-150500.11.3.1
- rust1.75-debuginfo-1.75.0-150500.11.3.1
-
openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 i586 nosrc)
- rust1.75-1.75.0-150500.11.3.1
-
openSUSE Leap 15.5 (nosrc)
- rust1.75-test-1.75.0-150500.11.3.2
-
Development Tools Module 15-SP5 (aarch64 ppc64le s390x x86_64)
- cargo-1.75.0-150500.27.3.1
- cargo1.75-debuginfo-1.75.0-150500.11.3.1
- rust-1.75.0-150500.27.3.1
- cargo1.75-1.75.0-150500.11.3.1
- rust1.75-debuginfo-1.75.0-150500.11.3.1
-
Development Tools Module 15-SP5 (aarch64 ppc64le s390x x86_64 nosrc)
- rust1.75-1.75.0-150500.11.3.1