You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASES.md
+11-25
Original file line number
Diff line number
Diff line change
@@ -5,31 +5,26 @@ Version 1.85.0 (2025-02-20)
5
5
6
6
Language
7
7
--------
8
-
- [Support var-args for more calling conventions](https://github.com/rust-lang/rust/pull/116161)
9
-
This stabilizes usage of `...` variable args in extern declarations for `system`, `aapcs`, `sysv64`, `win64`, and `efiapi` calling conventions. `C` and `cdecl` were previously stable.
10
-
- [Add `unpredictable_function_pointer_comparisons` lint to warn against function pointer comparisons](https://github.com/rust-lang/rust/pull/118833)
11
-
- [Lint on combining `#[no_mangle]` and `#[export_name]` attributes.](https://github.com/rust-lang/rust/pull/131558)
- [Add `unpredictable_function_pointer_comparisons` lint to warn against function pointer comparisons](https://github.com/rust-lang/rust/pull/118833)
14
+
- [Lint on combining `#[no_mangle]` and `#[export_name]` attributes.](https://github.com/rust-lang/rust/pull/131558)
18
15
19
16
<a id="1.85.0-Compiler"></a>
20
17
21
18
Compiler
22
19
--------
23
20
- [The unstable flag `-Zpolymorphize` has been removed](https://github.com/rust-lang/rust/pull/133883), see https://github.com/rust-lang/compiler-team/issues/810 for some background.
24
21
25
-
26
22
<a id="1.85.0-Platform-Support"></a>
27
23
28
24
Platform Support
29
25
----------------
30
26
- [Promote `powerpc64le-unknown-linux-musl` to tier 2 with host tools](https://github.com/rust-lang/rust/pull/133801)
31
27
32
-
33
28
Refer to Rust's [platform support page][platform-support-doc]
34
29
for more information on Rust's tiered platform support.
35
30
@@ -38,11 +33,10 @@ for more information on Rust's tiered platform support.
38
33
Libraries
39
34
---------
40
35
- [Panics in the standard library now have a leading `library/` in their path](https://github.com/rust-lang/rust/pull/132390)
41
-
- [`std::env::home_dir()` no longer respects `$HOME` on Windows](https://github.com/rust-lang/rust/pull/132515)
36
+
- [`std::env::home_dir()` on Windows now ignores the non-standard `$HOME` environment variable](https://github.com/rust-lang/rust/pull/132515)
42
37
It will be un-deprecated in a subsequent release.
43
38
- [Add `AsyncFn*` to the prelude in all editions.](https://github.com/rust-lang/rust/pull/132611)
44
39
45
-
46
40
<a id="1.85.0-Stabilized-APIs"></a>
47
41
48
42
Stabilized APIs
@@ -59,7 +53,6 @@ Stabilized APIs
59
53
- [`FromIterator<(A, ...)>` for tuples with arity 1 through 12](https://doc.rust-lang.org/stable/std/iter/trait.FromIterator.html#impl-FromIterator%3C(EA,)%3E-for-(A,))
- [Disable potentially incorrect type inference if there are trivial and non-trivial where-clauses](https://github.com/rust-lang/rust/pull/132325)
114
105
- `std::env::home_dir()` has been deprecated for years, because it can give surprising results in some Windows configurations if the `HOME` environment variable is set (which is not the normal configuration on Windows). We had previously avoided changing its behavior, out of concern for compatibility with code depending on this non-standard configuration. Given how long this function has been deprecated, we're now fixing its behavior as a bugfix. A subsequent release will remove the deprecation for this function.
115
-
- [More closely match clang behavior for definition of `core::ffi::c_char`](https://github.com/rust-lang/rust/pull/132975)
116
-
On many targets, this has changed the definition of `c_char`, resulting in potential compilation issues.
117
-
The new definition is more likely to be accurate for the corresponding C definition on the relevant target.
106
+
- [Make `core::ffi::c_char` signedness more closely match that of the platform-default `char`](https://github.com/rust-lang/rust/pull/132975)
107
+
This changed `c_char` from an `i8` to `u8` or vice versa on many Tier 2 and 3
108
+
targets (mostly Arm and RISC-V embedded targets). The new definition may
109
+
result in compilation failures but fixes compatibility issues with C.
118
110
The `libc` crate matches this change as of its 0.2.169 release.
111
+
- [When compiling a nested `macro_rules` macro from an external crate, the content of the inner `macro_rules` is now built with the edition of the external crate, not the local crate.](https://github.com/rust-lang/rust/pull/133274)
119
112
- [Increase `sparcv9-sun-solaris` and `x86_64-pc-solaris` Solaris baseline to 11.4.](https://github.com/rust-lang/rust/pull/133293)
120
113
- [Show `abi_unsupported_vector_types` lint in future breakage reports](https://github.com/rust-lang/rust/pull/133374)
121
114
- [Error if multiple super-trait instantiations of `dyn Trait` need associated types to be specified but only one is provided](https://github.com/rust-lang/rust/pull/133392)
122
115
- [Change `powerpc64-ibm-aix` default `codemodel` to large](https://github.com/rust-lang/rust/pull/133811)
123
116
124
-
125
117
<a id="1.85.0-Internal-Changes"></a>
126
118
127
119
Internal Changes
@@ -133,12 +125,6 @@ tools.
133
125
134
126
- [Build `x86_64-unknown-linux-gnu` with LTO for C/C++ code (e.g., `jemalloc`)](https://github.com/rust-lang/rust/pull/134690)
0 commit comments