File _patchinfo of Package patchinfo.32579
<patchinfo incident="32579">
<packager>firstyear</packager>
<rating>moderate</rating>
<category>recommended</category>
<issue tracker="jsc" id="SLE-18626"/>
<summary>Recommended update for rust</summary>
<description>This update for rust fixes the following issues:
- Update to version 1.76.0 - for details see the rust1.76 package
Version 1.76.0 (2024-02-08)
==========================
Language
--------
- Document Rust ABI compatibility between various types
- Also: guarantee that char and u32 are ABI-compatible
- Warn against ambiguous wide pointer comparisons
- Add lint `ambiguous_wide_pointer_comparisons` that supersedes `clippy::vtable_address_comparisons`
Compiler
--------
- Lint pinned `#[must_use]` pointers (in particular, `Box<T>` where `T` is `#[must_use]`) in `unused_must_use`.
- Soundness fix: fix computing the offset of an unsized field in a packed struct
- Soundness fix: fix dynamic size/align computation logic for packed types with dyn Trait tail
- Add `$message_type` field to distinguish json diagnostic outputs
- Enable Rust to use the EHCont security feature of Windows
- Add tier 3 {x86_64,i686}-win7-windows-msvc targets
- Add tier 3 aarch64-apple-watchos target
- Add tier 3 arm64e-apple-ios & arm64e-apple-darwin targets
Refer to Rust's [platform support page for more information on Rust's tiered platform support.
Libraries
---------
- Add a column number to `dbg!()`
- Add `std::hash::{DefaultHasher, RandomState}` exports
- Fix rounding issue with exponents in fmt
- Add T: ?Sized to `RwLockReadGuard` and `RwLockWriteGuard`'s Debug impls.
- Windows: Allow `File::create` to work on hidden files
Stabilized APIs
---------------
- `Arc::unwrap_or_clone` (https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#method.unwrap_or_clone)
- `Rc::unwrap_or_clone` (https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.unwrap_or_clone)
- `Result::inspect` (https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.inspect)
- `Result::inspect_err` (https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.inspect_err)
- `Option::inspect` (https://doc.rust-lang.org/stable/std/option/enum.Option.html#method.inspect)
- `type_name_of_val` (https://doc.rust-lang.org/stable/std/any/fn.type_name_of_val.html)
- `std::hash::{DefaultHasher, RandomState}` (https://doc.rust-lang.org/stable/std/hash/index.html#structs)
These were previously available only through `std::collections::hash_map`.
- `ptr::{from_ref, from_mut}` (https://doc.rust-lang.org/stable/std/ptr/fn.from_ref.html)
- `ptr::addr_eq` (https://doc.rust-lang.org/stable/std/ptr/fn.addr_eq.html)
Cargo
-----
See Cargo release notes at https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-176-2024-02-08 .
Rustdoc
-------
- Don't merge cfg and doc(cfg) attributes for re-exports
- rustdoc: allow resizing the sidebar / hiding the top bar
- rustdoc-search: add support for traits and associated types
- rustdoc: Add highlighting for comments in items declaration
</description>
</patchinfo>