X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=RELEASES.md;h=0965e37574d074fda69042077ab01df5166b891a;hb=311e2683e1bad87715b1558f7900e294d24ce491;hp=6f1cf2ee11c57106cdbbdbeb7e57a76e8fc4c20b;hpb=e393ed72193869d96fce54c76e81c0b9c4169ebe;p=rust.git diff --git a/RELEASES.md b/RELEASES.md index 6f1cf2ee11c..0965e37574d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -27,8 +27,9 @@ Libraries --------- - [Guarantee call order for `sort_by_cached_key`][89621] - [Improve `Duration::try_from_secs_f32`/`f64` accuracy by directly processing exponent and mantissa][90247] -- [Make `Instant::{duration_since, elapsed, sub}` saturating and remove workarounds][89926] -- [Change PhantomData type for `BuildHasherDefault` (and more)][92630] +- [Make `Instant::{duration_since, elapsed, sub}` saturating][89926] +- [Remove non-monotonic clocks workarounds in `Instant::now`][89926] +- [Make `BuildHasherDefault`, `iter::Empty` and `future::Pending` covariant][92630] Stabilized APIs --------------- @@ -68,13 +69,24 @@ Cargo Misc ---- -- [Add manifest docs fallback for tier-2 platforms.][92800] +- [Ship docs on Tier 2 platforms by reusing the closest Tier 1 platform docs][92800] - [Drop rustc-docs from complete profile][93742] - [bootstrap: tidy up flag handling for llvm build][93918] Compatibility Notes ------------------- - [Remove compiler-rt linking hack on Android][83822] +- [Mitigations for platforms with non-monotonic clocks have been removed from + `Instant::now`][89926]. On platforms that don't provide monotonic clocks, an + instant is not guaranteed to be greater than an earlier instant anymore. +- [`Instant::{duration_since, elapsed, sub}` do not panic anymore on underflow, + saturating to `0` instead][89926]. In the real world the panic happened mostly + on platforms with buggy monotonic clock implementations rather than catching + programming errors like reversing the start and end times. Such programming + errors will now results in `0` rather than a panic. +- In a future release we're planning to increase the baseline requirements for + the Linux kernel to version 3.2, and for glibc to version 2.17. We'd love + your feedback in [PR #95026][95026]. Internal Changes ---------------- @@ -107,6 +119,7 @@ and related tools. [93742]: https://github.com/rust-lang/rust/pull/93742 [93824]: https://github.com/rust-lang/rust/pull/93824 [93918]: https://github.com/rust-lang/rust/pull/93918 +[95026]: https://github.com/rust-lang/rust/pull/95026 [cargo/10086]: https://github.com/rust-lang/cargo/pull/10086 [cargo/10245]: https://github.com/rust-lang/cargo/pull/10245