Skip to content

Commit 433115c

Browse files
authored
Updated Stabilised APIs and Compatibility notes.
1 parent b188fa6 commit 433115c

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

RELEASES.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,13 @@ Libraries
4444
Stabilized APIs
4545
---------------
4646

47-
- [`TryFrom`]
48-
- [`TryInto`]
47+
- [`Child::try_wait`]
4948
- [`HashMap::retain`]
5049
- [`HashSet::retain`]
50+
- [`PeekMut::pop`]
5151
- [`TcpSteam::peek`]
5252
- [`UdpSocket::peek`]
5353
- [`UdpSocket::peek_from`]
54-
- [`Child::try_wait`]
5554

5655
Cargo
5756
-----
@@ -84,10 +83,20 @@ Compatibility Notes
8483
- [The refactor of trait object type parsing][40043] fixed a bug where `+` was
8584
receiving the wrong priority parsing things like `&for<'a> Tr<'a> + Send` as
8685
`&(for<'a> Tr<'a> + Send)` instead of `(&for<'a> Tr<'a>) + Send`
87-
- [Overlapping inherent impls are now a hard error][40728]
86+
- [Overlapping inherent `impl`s are now a hard error][40728]
87+
- [`PartialOrd` and `Ord` must to agree on the ordering.][41270]
8888
- [`rustc main.rs -o out --emit=asm,llvm-ir`][41085] Now would output
8989
`out.asm` and `out.ll` instead of only one of the filetypes.
90-
90+
- [ calling a function that returns `Self` will no longer work][41805] when
91+
the size of `Self` cannot be statically determined.
92+
- [rustc now builds with a "pthreads" flavour of MinGW for Windows GNU][40805]
93+
this has caused a few regressions namely:
94+
95+
- Changed the link order of local static/dynamic libraries (respecting the
96+
order on given rather than having the compiler reorder).
97+
- Changed how MinGW is linked, native code linked to dynamic libraries
98+
may require manually linking to the gcc support library (for the native
99+
code itself)
91100

92101
[38165]: https://github.com/rust-lang/rust/pull/38165
93102
[39799]: https://github.com/rust-lang/rust/pull/39799
@@ -115,15 +124,17 @@ Compatibility Notes
115124
[41168]: https://github.com/rust-lang/rust/pull/41168
116125
[41469]: https://github.com/rust-lang/rust/pull/41469
117126
[41085]: https://github.com/rust-lang/rust/pull/41085
127+
[41805]: https://github.com/rust-lang/rust/issues/41805
128+
[40805]: https://github.com/rust-lang/rust/pull/40805
129+
[41270]: https://github.com/rust-lang/rust/issues/41270
118130
[cargo/3842]: https://github.com/rust-lang/cargo/pull/3842
119131
[cargo/3847]: https://github.com/rust-lang/cargo/pull/3847
120132
[cargo/3885]: https://github.com/rust-lang/cargo/pull/3885
121133
[cargo/3901]: https://github.com/rust-lang/cargo/pull/3901
122134
[cargo/3952]: https://github.com/rust-lang/cargo/pull/3952
123-
[`TryFrom`]: https://doc.rust-lang.org/std/convert/trait.TryFrom.html
124-
[`TryInto`]: https://doc.rust-lang.org/std/convert/trait.TryInto.html
125135
[`HashMap::retain`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.retain
126136
[`HashSet::retain`]: https://doc.rust-lang.org/std/collections/struct.HashSet.html#method.retain
137+
[`PeekMut::pop`]: https://doc.rust-lang.org/std/collections/binary_heap/struct.PeekMut.html#method.pop
127138
[`TcpSteam::peek`]: https://doc.rust-lang.org/std/net/struct.TcpStream.html#method.peek
128139
[`UdpSocket::peek`]: https://doc.rust-lang.org/std/net/struct.UdpSocket.html#method.peek
129140
[`UdpSocket::peek_from`]: https://doc.rust-lang.org/std/net/struct.UdpSocket.html#method.peek_from

0 commit comments

Comments
 (0)