Skip to content

More 1.2 relnotes (backport) #27407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Highlights
jobs). It's not enabled by default, but will be "in the near
future". It can be activated with the `-C codegen-units=N` flag to
`rustc`.
* This is the first release with [experimental support for linking
with the MSVC linker and lib C on Windows (instead of using the GNU
variants via MinGW)][win]. It is yet recommended only for the most
intrepid Rusticians.
* Benchmark compilations are showing a 30% improvement in
bootstrapping over 1.1.

Breaking Changes
----------------
Expand All @@ -31,6 +37,10 @@ Breaking Changes
* [The `#[packed]` attribute is no longer silently accepted by the
compiler][packed]. This attribute did nothing and code that
mentioned it likely did not work as intended.
* Associated type defaults are [now behind the
`associated_type_defaults` feature gate][ad]. In 1.1 associated type
defaults *did not work*, but could be mentioned syntactically. As
such this breakage has minimal impact.

Language
--------
Expand All @@ -46,12 +56,11 @@ Libraries
`LinkedList`, `VecDeque`, `EnumSet`, `BinaryHeap`, `VecMap`,
`BTreeSet` and `BTreeMap`. [RFC][extend-rfc].
* The [`iter::once`] function returns an iterator that yields a single
element.
* The [`iter::empty`] function returns an iterator that yields no
element, and [`iter::empty`] returns an iterator that yields no
elements.
* The [`matches`] and [`rmatches`] methods on `str` return iterators
over substring matches.
* [`Cell`] and [`RefCell`] both implement [`Eq`].
* [`Cell`] and [`RefCell`] both implement `Eq`.
* A number of methods for wrapping arithmetic are added to the
integral types, [`wrapping_div`], [`wrapping_rem`],
[`wrapping_neg`], [`wrapping_shl`], [`wrapping_shr`]. These are in
Expand Down Expand Up @@ -144,6 +153,8 @@ Misc
[dst]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md
[parcodegen]: https://github.com/rust-lang/rust/pull/26018
[packed]: https://github.com/rust-lang/rust/pull/25541
[ad]: https://github.com/rust-lang/rust/pull/27382
[win]: https://github.com/rust-lang/rust/pull/25350

Version 1.1.0 (June 2015)
=========================
Expand Down