|
| 1 | +Version 1.72.0 (2023-08-24) |
| 2 | +========================== |
| 3 | + |
| 4 | +<a id="1.72.0-Language"></a> |
| 5 | + |
| 6 | +Language |
| 7 | +-------- |
| 8 | + |
| 9 | +- [Replace const eval limit by a lint and add an exponential backoff warning](https://github.com/rust-lang/rust/pull/103877/) |
| 10 | +- [expand: Change how `#![cfg(FALSE)]` behaves on crate root](https://github.com/rust-lang/rust/pull/110141/) |
| 11 | +- [Stabilize inline asm for LoongArch64](https://github.com/rust-lang/rust/pull/111235/) |
| 12 | +- [Uplift `clippy::undropped_manually_drops` lint](https://github.com/rust-lang/rust/pull/111530/) |
| 13 | +- [Uplift `clippy::invalid_utf8_in_unchecked` lint](https://github.com/rust-lang/rust/pull/111543/) |
| 14 | +- [Uplift `clippy::cast_ref_to_mut` lint](https://github.com/rust-lang/rust/pull/111567/) |
| 15 | +- [Uplift `clippy::cmp_nan` lint](https://github.com/rust-lang/rust/pull/111818/) |
| 16 | +- [resolve: Remove artificial import ambiguity errors](https://github.com/rust-lang/rust/pull/112086/) |
| 17 | +- [Don't require associated types with Self: Sized bounds in `dyn Trait` objects](https://github.com/rust-lang/rust/pull/112319/) |
| 18 | + |
| 19 | +<a id="1.72.0-Compiler"></a> |
| 20 | + |
| 21 | +Compiler |
| 22 | +-------- |
| 23 | + |
| 24 | +- [Remember names of `cfg`-ed out items to mention them in diagnostics](https://github.com/rust-lang/rust/pull/109005/) |
| 25 | +- [Support for native WASM exceptions](https://github.com/rust-lang/rust/pull/111322/) |
| 26 | +- [Add support for NetBSD/aarch64-be (big-endian arm64).](https://github.com/rust-lang/rust/pull/111326/) |
| 27 | +- [Write to stdout if `-` is given as output file](https://github.com/rust-lang/rust/pull/111626/) |
| 28 | +- [Force all native libraries to be statically linked when linking a static binary](https://github.com/rust-lang/rust/pull/111698/) |
| 29 | +- [Add Tier 3 support for `loongarch64-unknown-none*`](https://github.com/rust-lang/rust/pull/112310/) |
| 30 | +- [Prevent `.eh_frame` from being emitted for `-C panic=abort`](https://github.com/rust-lang/rust/pull/112403/) |
| 31 | +- [Support 128-bit enum variant in debuginfo codegen](https://github.com/rust-lang/rust/pull/112474/) |
| 32 | +- [compiler: update solaris/illumos to enable tsan support.](https://github.com/rust-lang/rust/pull/112039/) |
| 33 | + |
| 34 | +Refer to Rust's [platform support page][platform-support-doc] |
| 35 | +for more information on Rust's tiered platform support. |
| 36 | + |
| 37 | +<a id="1.72.0-Libraries"></a> |
| 38 | + |
| 39 | +Libraries |
| 40 | +--------- |
| 41 | + |
| 42 | +- [Document memory orderings of `thread::{park, unpark}`](https://github.com/rust-lang/rust/pull/99587/) |
| 43 | +- [io: soften ‘at most one write attempt’ requirement in io::Write::write](https://github.com/rust-lang/rust/pull/107200/) |
| 44 | +- [Specify behavior of HashSet::insert](https://github.com/rust-lang/rust/pull/107619/) |
| 45 | +- [Relax implicit `T: Sized` bounds on `BufReader<T>`, `BufWriter<T>` and `LineWriter<T>`](https://github.com/rust-lang/rust/pull/111074/) |
| 46 | +- [Update runtime guarantee for `select_nth_unstable`](https://github.com/rust-lang/rust/pull/111974/) |
| 47 | +- [Return `Ok` on kill if process has already exited](https://github.com/rust-lang/rust/pull/112594/) |
| 48 | +- [Implement PartialOrd for `Vec`s over different allocators](https://github.com/rust-lang/rust/pull/112632/) |
| 49 | +- [Use 128 bits for TypeId hash](https://github.com/rust-lang/rust/pull/109953/) |
| 50 | +- [Don't drain-on-drop in DrainFilter impls of various collections.](https://github.com/rust-lang/rust/pull/104455/) |
| 51 | +- [Make `{Arc,Rc,Weak}::ptr_eq` ignore pointer metadata](https://github.com/rust-lang/rust/pull/106450/) |
| 52 | + |
| 53 | +<a id="1.72.0-Rustdoc"></a> |
| 54 | + |
| 55 | +Rustdoc |
| 56 | +------- |
| 57 | + |
| 58 | +- [Allow whitespace as path separator like double colon](https://github.com/rust-lang/rust/pull/108537/) |
| 59 | +- [Add search result item types after their name](https://github.com/rust-lang/rust/pull/110688/) |
| 60 | +- [Search for slices and arrays by type with `[]`](https://github.com/rust-lang/rust/pull/111958/) |
| 61 | +- [Clean up type unification and "unboxing"](https://github.com/rust-lang/rust/pull/112233/) |
| 62 | + |
| 63 | +<a id="1.72.0-Stabilized-APIs"></a> |
| 64 | + |
| 65 | +Stabilized APIs |
| 66 | +--------------- |
| 67 | + |
| 68 | +- [`impl<T: Send> Sync for mpsc::Sender<T>`](https://doc.rust-lang.org/nightly/std/sync/mpsc/struct.Sender.html#impl-Sync-for-Sender%3CT%3E) |
| 69 | +- [`impl TryFrom<&OsStr> for &str`](https://doc.rust-lang.org/nightly/std/primitive.str.html#impl-TryFrom%3C%26'a+OsStr%3E-for-%26'a+str) |
| 70 | +- [`String::leak`](https://doc.rust-lang.org/nightly/alloc/string/struct.String.html#method.leak) |
| 71 | + |
| 72 | +These APIs are now stable in const contexts: |
| 73 | + |
| 74 | +- [`CStr::from_bytes_with_nul`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul) |
| 75 | +- [`CStr::to_bytes`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul) |
| 76 | +- [`CStr::to_bytes_with_nul`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul) |
| 77 | +- [`CStr::to_str`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul) |
| 78 | + |
| 79 | +<a id="1.72.0-Cargo"></a> |
| 80 | + |
| 81 | +Cargo |
| 82 | +----- |
| 83 | + |
| 84 | +- Enable `-Zdoctest-in-workspace` by default. When running each documentation |
| 85 | + test, the working directory is set to the root directory of the package the |
| 86 | + test belongs to. |
| 87 | + [docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-test.html#working-directory-of-tests) |
| 88 | + [#12221](https://github.com/rust-lang/cargo/pull/12221) |
| 89 | + [#12288](https://github.com/rust-lang/cargo/pull/12288) |
| 90 | +- Add support of the "default" keyword to reset previously set `build.jobs` |
| 91 | + parallelism back to the default. |
| 92 | + [#12222](https://github.com/rust-lang/cargo/pull/12222) |
| 93 | + |
| 94 | +<a id="1.72.0-Compatibility-Notes"></a> |
| 95 | + |
| 96 | +Compatibility Notes |
| 97 | +------------------- |
| 98 | + |
| 99 | +- [Alter `Display` for `Ipv6Addr` for IPv4-compatible addresses](https://github.com/rust-lang/rust/pull/112606/) |
| 100 | +- Cargo changed feature name validation check to a hard error. The warning was |
| 101 | + added in Rust 1.49. These extended characters aren't allowed on crates.io, so |
| 102 | + this should only impact users of other registries, or people who don't publish |
| 103 | + to a registry. |
| 104 | + [#12291](https://github.com/rust-lang/cargo/pull/12291) |
| 105 | + |
1 | 106 | Version 1.71.0 (2023-07-13)
|
2 | 107 | ==========================
|
3 | 108 |
|
|
0 commit comments