Skip to content

Commit 1c942e9

Browse files
Release notes for 1.76
1 parent 665d2c6 commit 1c942e9

File tree

1 file changed

+95
-0
lines changed

1 file changed

+95
-0
lines changed

RELEASES.md

+95
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,98 @@
1+
Version 1.76.0 (2024-02-08)
2+
==========================
3+
4+
<a id="1.76.0-Language"></a>
5+
6+
Language
7+
--------
8+
- [Document Rust ABI compatibility between various types](https://github.com/rust-lang/rust/pull/115476/)
9+
- [Also: guarantee that char and u32 are ABI-compatible](https://github.com/rust-lang/rust/pull/118032/)
10+
- [Warn against ambiguous wide pointer comparisons](https://github.com/rust-lang/rust/pull/117758/)
11+
12+
<a id="1.76.0-Compiler"></a>
13+
14+
Compiler
15+
--------
16+
- [Lint pinned `#[must_use]` pointers (in particular, `Box<T>` where `T` is `#[must_use]`) in `unused_must_use`.](https://github.com/rust-lang/rust/pull/118054/)
17+
- [Soundness fix: fix computing the offset of an unsized field in a packed struct](https://github.com/rust-lang/rust/pull/118540/)
18+
- [Soundness fix: fix dynamic size/align computation logic for packed types with dyn Trait tail](https://github.com/rust-lang/rust/pull/118538/)
19+
- [Add arm64e-apple-ios & arm64e-apple-darwin targets](https://github.com/rust-lang/rust/pull/115526/)
20+
- [Add `$message_type` field to distinguish json diagnostic outputs](https://github.com/rust-lang/rust/pull/115691/)
21+
- [Enable Rust to use the EHCont security feature of Windows](https://github.com/rust-lang/rust/pull/118013/)
22+
- [Add new targets {x86_64,i686}-win7-windows-msvc](https://github.com/rust-lang/rust/pull/118150/)
23+
- [Add new tier 3 aarch64-apple-watchos target](https://github.com/rust-lang/rust/pull/119074/)
24+
25+
<a id="1.76.0-Libraries"></a>
26+
27+
Libraries
28+
---------
29+
- [adds a column number to `dbg!()`](https://github.com/rust-lang/rust/pull/114962/)
30+
- [Add `std::hash::{DefaultHasher, RandomState}` exports](https://github.com/rust-lang/rust/pull/115694/)
31+
- [Fix rounding issue with exponents in fmt](https://github.com/rust-lang/rust/pull/116301/)
32+
- [Stablize arc_unwrap_or_clone](https://github.com/rust-lang/rust/pull/116949/)
33+
- [Add T: ?Sized to `RwLockReadGuard` and `RwLockWriteGuard`'s Debug impls.](https://github.com/rust-lang/rust/pull/117138/)
34+
- [Stabilize `ptr::{from_ref, from_mut}`](https://github.com/rust-lang/rust/pull/117824/)
35+
- [Stabilize RFC3324 dyn upcasting coercion](https://github.com/rust-lang/rust/pull/118133/)
36+
- [Stabilize `type_name_of_val`](https://github.com/rust-lang/rust/pull/118234/)
37+
- [Stabilize `result_option_inspect`](https://github.com/rust-lang/rust/pull/116866/)
38+
- [Windows: Allow `File::create` to work on hidden files](https://github.com/rust-lang/rust/pull/116438/)
39+
40+
<a id="1.76.0-Stabilized-APIs"></a>
41+
42+
Stabilized APIs
43+
---------------
44+
45+
<a id="1.76.0-Cargo"></a>
46+
47+
Cargo
48+
-----
49+
50+
TODO
51+
52+
See [Cargo release notes](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-176-2024-02-08).
53+
54+
<a id="1.76.0-Rustdoc"></a>
55+
56+
Rustdoc
57+
-------
58+
59+
- [Don't merge cfg and doc(cfg) attributes for re-exports](https://github.com/rust-lang/rust/pull/113091/)
60+
- [rustdoc: allow resizing the sidebar / hiding the top bar](https://github.com/rust-lang/rust/pull/115660/)
61+
- [rustdoc-search: add support for traits and associated types](https://github.com/rust-lang/rust/pull/116085/)
62+
- [rustdoc: Add highlighting for comments in items declaration](https://github.com/rust-lang/rust/pull/117869/)
63+
64+
<a id="1.76.0-Compatibility-Notes"></a>
65+
66+
Compatibility Notes
67+
-------------------
68+
- [Add allow-by-default lint for unit bindings](https://github.com/rust-lang/rust/pull/112380/)
69+
This is expected to be upgraded to a warning by default in a future Rust
70+
release. Some macros emit bindings with type `()` with user-provided spans,
71+
which means that this lint will warn for user code.
72+
- [Properly reject `default` on free const items](https://github.com/rust-lang/rust/pull/117818/)
73+
- [Report errors in jobserver inherited through environment variables](https://github.com/rust-lang/rust/pull/113730/)
74+
- [Update the minimum external LLVM to 16.](https://github.com/rust-lang/rust/pull/117947/)
75+
- [Remove now deprecated target x86_64-sun-solaris.](https://github.com/rust-lang/rust/pull/118091/)
76+
- [Improve `print_tts`](https://github.com/rust-lang/rust/pull/114571/)
77+
This change can break some naive manual parsing of token trees in proc macro
78+
code which expect a particular structure after `.to_string()`, rather than just arbitrary Rust code.
79+
- [Remove asmjs](https://github.com/rust-lang/rust/pull/117338/)
80+
- [Make `IMPLIED_BOUNDS_ENTAILMENT` into a hard error from a lint](https://github.com/rust-lang/rust/pull/117984/)
81+
82+
Maybe:
83+
- [rustc_llvm: Link to libkstat on Solaris/SPARC](https://github.com/rust-lang/rust/pull/114224/)
84+
- [Pass +forced-atomics feature for riscv32{i,im,imc}-unknown-none-elf](https://github.com/rust-lang/rust/pull/114499/)
85+
- [Remove legacy bitcode defaults from all Apple specs](https://github.com/rust-lang/rust/pull/117364/)
86+
87+
<a id="1.76.0-Internal-Changes"></a>
88+
89+
Internal Changes
90+
----------------
91+
92+
These changes do not affect any public interfaces of Rust, but they represent
93+
significant improvements to the performance or internals of rustc and related
94+
tools.
95+
196
Version 1.75.0 (2023-12-28)
297
==========================
398

0 commit comments

Comments
 (0)