Skip to content

Commit 2b42d10

Browse files
Rebase and manually update relnote order
1 parent fd944a7 commit 2b42d10

File tree

1 file changed

+11
-25
lines changed

1 file changed

+11
-25
lines changed

RELEASES.md

+11-25
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,26 @@ Version 1.85.0 (2025-02-20)
55

66
Language
77
--------
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)
12-
- [Stabilize `#[diagnostic::do_not_recommend]`](https://github.com/rust-lang/rust/pull/132056)
13-
- [Stabilize async closures](https://github.com/rust-lang/rust/pull/132706)
14-
See [RFC 3668](https://rust-lang.github.io/rfcs/3668-async-closures.html) for more details.
158
- [The 2024 Edition is now stable.](https://github.com/rust-lang/rust/pull/133349)
169
See [the edition guide](https://doc.rust-lang.org/nightly/edition-guide/rust-2024/index.html) for more details.
17-
10+
- [Stabilize async closures](https://github.com/rust-lang/rust/pull/132706)
11+
See [RFC 3668](https://rust-lang.github.io/rfcs/3668-async-closures.html) for more details.
12+
- [Stabilize `#[diagnostic::do_not_recommend]`](https://github.com/rust-lang/rust/pull/132056)
13+
- [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)
1815

1916
<a id="1.85.0-Compiler"></a>
2017

2118
Compiler
2219
--------
2320
- [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.
2421

25-
2622
<a id="1.85.0-Platform-Support"></a>
2723

2824
Platform Support
2925
----------------
3026
- [Promote `powerpc64le-unknown-linux-musl` to tier 2 with host tools](https://github.com/rust-lang/rust/pull/133801)
3127

32-
3328
Refer to Rust's [platform support page][platform-support-doc]
3429
for more information on Rust's tiered platform support.
3530

@@ -38,11 +33,10 @@ for more information on Rust's tiered platform support.
3833
Libraries
3934
---------
4035
- [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)
4237
It will be un-deprecated in a subsequent release.
4338
- [Add `AsyncFn*` to the prelude in all editions.](https://github.com/rust-lang/rust/pull/132611)
4439

45-
4640
<a id="1.85.0-Stabilized-APIs"></a>
4741

4842
Stabilized APIs
@@ -59,7 +53,6 @@ Stabilized APIs
5953
- [`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,))
6054
- [`std::task::Waker::noop`](https://doc.rust-lang.org/stable/std/task/struct.Waker.html#method.noop)
6155

62-
6356
These APIs are now stable in const contexts:
6457

6558
- [`mem::size_of_val`](https://doc.rust-lang.org/stable/std/mem/fn.size_of_val.html)
@@ -86,7 +79,6 @@ These APIs are now stable in const contexts:
8679
- [`<float>::copysign`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.copysign)
8780
- [`MaybeUninit::write`](https://doc.rust-lang.org/stable/std/mem/union.MaybeUninit.html#method.write)
8881

89-
9082
<a id="1.85.0-Cargo"></a>
9183

9284
Cargo
@@ -101,7 +93,6 @@ Rustdoc
10193
-----
10294
- [Doc comment on impl blocks shows the first line, even when the impl block is collapsed](https://github.com/rust-lang/rust/pull/132155)
10395

104-
10596
<a id="1.85.0-Compatibility-Notes"></a>
10697

10798
Compatibility Notes
@@ -112,16 +103,17 @@ Compatibility Notes
112103
[^check-cfg]: https://doc.rust-lang.org/nightly/rustc/check-cfg.html
113104
- [Disable potentially incorrect type inference if there are trivial and non-trivial where-clauses](https://github.com/rust-lang/rust/pull/132325)
114105
- `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.
118110
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)
119112
- [Increase `sparcv9-sun-solaris` and `x86_64-pc-solaris` Solaris baseline to 11.4.](https://github.com/rust-lang/rust/pull/133293)
120113
- [Show `abi_unsupported_vector_types` lint in future breakage reports](https://github.com/rust-lang/rust/pull/133374)
121114
- [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)
122115
- [Change `powerpc64-ibm-aix` default `codemodel` to large](https://github.com/rust-lang/rust/pull/133811)
123116

124-
125117
<a id="1.85.0-Internal-Changes"></a>
126118

127119
Internal Changes
@@ -133,12 +125,6 @@ tools.
133125

134126
- [Build `x86_64-unknown-linux-gnu` with LTO for C/C++ code (e.g., `jemalloc`)](https://github.com/rust-lang/rust/pull/134690)
135127

136-
137-
138-
Other
139-
-----
140-
141-
142128
Version 1.84.1 (2025-01-30)
143129
==========================
144130

0 commit comments

Comments
 (0)