R

Rust (Releases)

R
Rust (Releases) Languages v1.97.1

Rust 1.97.1

rustc: Fix miscompilation in LLVM optimization This backports an LLVM submodule bump to include the LLVM-side fix and a revert of the rustc change that is one known trigger for the bug. The rustc side revert should not be strictly necessary but is done out of abundance of caution.

R
Rust (Releases) Languages v1.97.0

Rust 1.97.0

Language Consider Result<T, Uninhabited> and ControlFlow<Uninhabited, T> to be equivalent to T for must use lint Add allow-by-default dead_code_pub_in_binary lint for unused pub items in binary crates Stabilize the div32, lam-bh, lamcas, ld-seq-sa and scq target features Stabilize cfg(target_has_atomic_primitive_alignment) Allow trailing self in imports in more cases Platform Support nvptx64-nvidi…

R
Rust (Releases) Languages v1.96.1

Rust 1.96.1

Cargo: fix timeout/retry behavior Cargo: apply patches for CVE-2025-15661, CVE-2026-55199, and CVE-2026-55200 to libssh2 rustc: fix miscompilation in MIR optimization

R
Rust (Releases) Languages v1.96.0

Rust 1.96.0

Language Allow passing expr metavariable to cfg Always coerce never types in tuple expressions Avoid incorrect inference guidance of function arguments in rare cases Support s390x vector registers in inline assembly Allow using constants of type ManuallyDrop as patterns (fixing a regression introduced in 1.94.0) Compiler Enable link relaxation feature for LoongArch Linux targets Update riscv64gc-u…

R
Rust (Releases) Languages v1.95.0

Rust 1.95.0

Language Stabilize if let guards on match arms irrefutable_let_patterns lint no longer lints on let chains Support importing path-segment keywords with renaming Stabilize inline assembly for PowerPC and PowerPC64 const-eval: be more consistent in the behavior of padding during typed copies Const blocks are no longer evaluated to determine if expressions involving fallible operations can implicitly…

R
Rust (Releases) Languages v1.94.1

Rust 1.94.1

Fix std::thread::spawn on wasm32-wasip1-threads Remove new methods added to std::os::windows::fs::OpenOptionsExt The new methods were unstable, but the trait itself is not sealed and so cannot be extended with non-default methods. Clippy: fix ICE in match_same_arms Cargo: update tar to 0.4.45 This resolves CVE-2026-33055 and CVE-2026-33056. Users of crates.io are not affected. See blog for more de…

R
Rust (Releases) Languages v1.94.0

Rust 1.94.0

Language Impls and impl items inherit dead_code lint level of the corresponding traits and trait items Stabilize additional 29 RISC-V target features including large portions of the RVA22U64 / RVA23U64 profiles Add warn-by-default unused_visibilities lint for visibility on const _ declarations Update to Unicode 17 Avoid incorrect lifetime errors for closures Platform Support Add riscv64im-unknown-…

R
Rust (Releases) Languages v1.93.1

Rust 1.93.1

Don't try to recover keyword as non-keyword identifier, fixing an ICE that especially affected rustfmt. Fix clippy::panicking_unwrap false-positive on field access with implicit deref. Revert "Update wasm-related dependencies in CI", fixing file descriptor leaks on the wasm32-wasip2 target.

R
Rust (Releases) Languages v1.93.0

Rust 1.93.0

Language Stabilize several s390x vector-related target features and the is_s390x_feature_detected! macro Stabilize declaration of C-style variadic functions for the system ABI Emit error when using some keyword as a cfg predicate Stabilize asm_cfg During const-evaluation, support copying pointers byte-by-byte LUB coercions now correctly handle function item types, and functions with differing safe…

R
Rust (Releases) Languages v1.92.0

Rust 1.92.0

Language Document MaybeUninit representation and validity Allow &raw [mut | const] for union field in safe code Prefer item bounds of associated types over where-bounds for auto-traits and Sized Do not materialize X in [X; 0] when X is unsizing a const Support combining #[track_caller] and #[no_mangle] (requires every declaration specifying #[track_caller] as well) Make never type lints never_type…

R
Rust (Releases) Languages v1.91.1

Rust 1.91.1

Enable file locking support in illumos. This fixes Cargo not locking the build directory on illumos. Fix wasm_import_module attribute cross-crate. This fixes linker errors on WASM targets.

R
Rust (Releases) Languages v1.91.0

Rust 1.91.0

Language Lower pattern bindings in the order they're written and base drop order on primary bindings' order Stabilize declaration of C-style variadic functions for sysv64, win64, efiapi, and aapcs ABIs. This brings these ABIs in line with the C ABI: variadic functions can be declared in extern blocks but not defined. Add dangling_pointers_from_locals lint to warn against dangling pointers from loc…