In this release, several APIs have also been stabilized, making them available for use in all contexts, including const contexts. Among the new features are:
- Path::file_prefix: This method returns the file name without its directory path.
- Stabilized methods for atomic pointers, including operations like `fetch_ptr_add` and `fetch_or`.
- New methods for integers, such as `strict_add` and `strict_sub`.
- Methods for panicking hooks and new methods for handling paths, path buffers, and durations.
- Implementations of PartialEq for types like PathBuf and str, as well as methods for managing IPv4 and IPv6 addresses.
- Default implementations for pinned types including `Pin
Additionally, some previously stable APIs are now accessible in const contexts, including `OsString::new`, `PathBuf::new`, and others.
For developers looking to install or update to Rust 1.91.0, the process is straightforward via rustup. Users can simply run `rustup update stable` to upgrade if already on a prior version, or download rustup from the official website if not yet installed. Those wishing to assist in testing future releases can opt for the beta (`rustup default beta`) or nightly (`rustup default nightly`) channels and report any bugs discovered during the testing phase.
The aarch64-pc-windows-msvc target’s Tier 1 promotion ensures that the Rust compiler will execute its full test suite on this platform with each change, while the aarch64-pc-windows-gnullvm and x86_64-pc-windows-gnullvm targets have been elevated to Tier 2 support, albeit with some host tools still pending release.
For further details on Rust’s tiered platform support and the full list of stabilized APIs, users are encouraged to refer to the official Rust platform support page. Rust continues to empower developers to build reliable and efficient software through its ongoing improvements and community engagement
Rust 1.91.0 released
Rust version 1.91.0 is now available, offering improved reliability and efficiency through its empowering programming language. The aarch64-pc-windows-msvc target has been promoted to Tier 1 support, providing the highest level of support guarantee for users of 64-bit ARM systems running Windows. A new warn-by-default lint has also been added to prevent dangling raw pointers from local variables being returned by functions. Additionally, several APIs have been stabilized, including methods for paths, atomic pointers, integers, and panicking hooks, among others.
 
                		
