Repository navigation
Closed
Labels
T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.relnotes-tracking-issueMarks issues tracking what text to put in release notes.
Description
NOTE: Use the 📝 links to edit those that have a relnotes-tracking-issue,
and they will be updated when we regenerate the notes periodically (manually).
Version 1.98.0 (2026-08-20)
Language
- Allow shortening lifetime of
&mutwhen unsize-coercing, even in an invariant position. For example, you can now coerce aCell<&'long mut i32>to aCell<&'short mut dyn Send>. Such shortenings were already previously allowed when coercing a&mutto a&, or coercing a&to a&.
📝 - riscv:
d,e, andftarget_features are now stable incfg(target_feature = "?")
📝
Compiler
Platform Support
- Add
powerpc64-unknown-linux-gnuelfv2as Tier 3
📝 - Add
aarch64-unknown-linux-pauthtestas Tier 3 target
📝 - Promote
thumbv7a-none-eabiTier 2 - Promote
thumbv7a-none-eabihfTier 2 - Promote
thumbv7r-none-eabiTier 2 - Promote
thumbv7r-none-eabihfTier 2 - Promote
thumbv8r-none-eabihfTier 2
📝
Refer to Rust's platform support page
for more information on Rust's tiered platform support.
Libraries
- Change
Location<'_>lifetime to'staticinPanic[Hook]Info
📝 - Document panic in
RangeInclusive::from(legacy::RangeInclusive)
📝 - Document that
ManuallyDrop'sBoxinteraction has been fixed
📝 - Stabilize
core::range::{legacy, RangeFull, RangeTo}
Stabilized APIs
core::fmt::NumBuffer<{integer}>::format_into
📝Send/Sync for std::process::CommandArgs
📝{fN}::algebraic_add{fN}::algebraic_sub{fN}::algebraic_mul{fN}::algebraic_div{fN}::algebraic_rem
📝NonZero<{integer}>::from_str_radix
📝String::from_utf16leString::from_utf16le_lossyString::from_utf16beString:;from_utf16be_lossy
📝[T]::strip_circumfixstr::strip_circumfix
📝Atomic<T>::from_mutAtomic<T>::get_mut_sliceAtomic<T>::from_mut_slice
📝
These previously stable APIs are now stable in const contexts:
Cargo
Rustdoc
Compatibility Notes
- If fully elided, lifetime bounds of trait object types may now resolve differently or even get rejected in very specific niche scenarios
📝 - Error in more cases of ambiguous imports
📝 - Switch the destructors implementation for thread locals on Windows to use FLS
📝 - Convert some cases of the
ambiguous_glob_importslint into a hard error
📝 - Where-bounds of the form
Type = TypeandType == Typeare no longer syntactically allowed
📝 - Ensure Send/Sync is not implemented for std::env::Vars{,Os}
📝 - Fix that in some attributes, arguments were not properly rejected
📝 repr(transparent)is now more strict about which fields have "trivial" layout and hence can be ignored:repr(C)types, types with private fields, and#[non_exhaustive]types are no longer considered "trivial"
📝- Correctly check whether types have equal size in
transmute()when somereprattributes are involved.
📝 - Add deny-by-default
invalid_runtime_symbol_definitionslint and warn-by-defaultsuspicious_runtime_symbol_definitionslint- The lints currently specifically targets
coreruntime symbols likememcmp,memset,strlen, ... and is planned be embellished in the next few releases.
📝
- The lints currently specifically targets
- More characters are escaped when printing strings an chars
📝 - Implement fast path for
derive(PartialOrd)when derivingOrd
This can break crates in practice where a type's PartialOrd and Ord impls were inconsistent with each other.
📝 - Add temporary scope to
assert_eqandassert_ne
📝 - lint on
core::ffi::c_voidas a return type
📝 - Closed a hole in the pattern matching structural equality check, preventing cases where a match of a constant would be allowed, despite disagreeing with a manually written
PartialEqimplementation, when aderive(PartialEq)implementation for that type also exists.
📝 - On Emscripten the WASM exception handling ABI is now unconditionally used The
-Zemscripten-wasm-eh=falseflag to switch back to JS exceptions has been removed.
📝 - The UNSAFE_CODE lint is now consistently emitted for all unsafe attributes
📝 - Solaris: remove
File::lockimplementation, it has the wrong semantics (return "unsupported" instead)
📝 - Windows-gnu targets now specify baseline tools versions
📝
Internal Changes
These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.
Other
Metadata
Metadata
Assignees
Labels
T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.relnotes-tracking-issueMarks issues tracking what text to put in release notes.
Activity
BoxyUwU commentedon Aug 7, 2026
cc @rust-lang/release
@rustbot ping relnotes-interest-group
rustbot commentedon Aug 7, 2026
Hi relnotes-interest-group, this issue/PR could use some help in reviewing /
adjusting release notes. Could you take a look if available? Thanks <3
cc @alex-semenyuk @jieyouxu @joshtriplett @lcnr @traviscross @weihanglo
joshtriplett commentedon Aug 10, 2026
Looks great.
wr7 commentedon Aug 12, 2026
This is missing
<[T]>::subslice_rangeandstr::substr_rangePR:#141266
Relnotes issue: #148225
apiraino commentedon Aug 13, 2026
mentioning #145108 as well, which caused some linting warnings (which in part have been fixing).
jhpratt commentedon Aug 16, 2026
jieyouxu commentedon Aug 16, 2026
jhpratt commentedon Aug 16, 2026
cuviper commentedon Aug 17, 2026
@apiraino that one is in the compat section as "Error in more cases of ambiguous imports", which can be adjusted in that relnote tracker if needed.
BoxyUwU commentedon Aug 18, 2026
#161293