Auto merge of #91361 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum · rust-lang/rust@f1edd04 (original) (raw)
``
1
`+
Version 1.57.0 (2021-12-02)
`
``
2
`+
==========================
`
``
3
+
``
4
`+
Language
`
``
5
`+
`
``
6
+
``
7
`` +
``
``
8
`` +
``
``
9
`+
`
``
10
+
``
11
`+
Compiler
`
``
12
`+
`
``
13
+
``
14
`+
`
``
15
`` +
``
``
16
`` +
``
``
17
`` +
``
``
18
`` +
- Add SOLID targets at Tier 3*:
aarch64-kmc-solid_asp3
,armv7a-kmc-solid_asp3-eabi
,armv7a-kmc-solid_asp3-eabihf
``
``
19
+
``
20
`+
* Refer to Rust's [platform support page][platform-support-doc] for more
`
``
21
`+
information on Rust's tiered platform support.
`
``
22
+
``
23
`+
Libraries
`
``
24
`+
`
``
25
+
``
26
`` +
``
``
27
`` +
``
``
28
`` +
``
``
29
`+
`
``
30
`` +
- Many more functions are marked
#[must_use]
, producing a warning
``
``
31
`+
when ignoring their return value. This helps catch mistakes such as expecting
`
``
32
`+
a function to mutate a value in place rather than return a new value.
`
``
33
+
``
34
`+
Stabilised APIs
`
``
35
`+
`
``
36
+
``
37
`` +
``
``
38
`` +
``
``
39
`` +
``
``
40
`` +
``
``
41
`` +
``
``
42
`` +
``
``
43
`` +
``
``
44
`` +
``
``
45
`` +
``
``
46
`` +
``
``
47
`` +
``
``
48
`` +
``
``
49
`` +
``
``
50
`` +
``
``
51
`` +
``
``
52
`` +
``
``
53
`` +
``
``
54
`` +
``
``
55
`` +
``
``
56
`` +
``
``
57
+
``
58
`+
These APIs are now usable in const contexts:
`
``
59
+
``
60
`` +
- [
hint::unreachable_unchecked
]
``
``
61
+
``
62
`+
Cargo
`
``
63
`+
`
``
64
+
``
65
`+
`
``
66
+
``
67
`+
Compatibility notes
`
``
68
`+
`
``
69
+
``
70
`+
Internal changes
`
``
71
`+
`
``
72
`+
These changes provide no direct user facing benefits, but represent significant
`
``
73
`+
improvements to the internals and overall performance of rustc
`
``
74
`+
and related tools.
`
``
75
+
``
76
`` +
``
``
77
+
``
78
`+
`
``
79
`+
`
``
80
`+
`
``
81
`+
`
``
82
`+
`
``
83
`+
`
``
84
`+
`
``
85
`+
`
``
86
`+
`
``
87
`+
`
``
88
`+
`
``
89
`+
`
``
90
`+
`
``
91
`+
`
``
92
`+
`
``
93
`+
`
``
94
`` +
``
``
95
`` +
``
``
96
`` +
``
``
97
`` +
``
``
98
`` +
``
``
99
`` +
``
``
100
`` +
``
``
101
`` +
``
``
102
`` +
``
``
103
`` +
``
``
104
`` +
``
``
105
`` +
``
``
106
`` +
``
``
107
`` +
``
``
108
`` +
``
``
109
`` +
``
``
110
`` +
``
``
111
`` +
``
``
112
`` +
``
``
113
`` +
``
``
114
+
1
115
`Version 1.56.1 (2021-11-01)
`
2
116
`===========================
`
3
117
``
85
199
`` - [Cargo supports specifying a minimum supported Rust version in Cargo.toml.][rust-version
]
``
86
200
` This has no effect at present on dependency version selection.
`
87
201
` We encourage crates to specify their minimum supported Rust version, and we encourage CI systems
`
88
``
`-
that support Rust code to include a crate's specified minimum version in the text matrix for that
`
``
202
`+
that support Rust code to include a crate's specified minimum version in the test matrix for that
`
89
203
` crate by default.
`
90
204
``
91
205
`Compatibility notes
`