-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Updated Release notes for 1.22.0 #45454
Changes from 2 commits
332759d
4fbf56c
045032a
7e25527
5a9d833
b93c95a
e0ac864
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,68 @@ | ||
Version 1.22.0 (2017-11-23) | ||
========================== | ||
|
||
Language | ||
-------- | ||
- [`non_snake_case` lint now allows extern no-mangle functions][44966] | ||
- [Now accepts underscores in unicode escapes][43716] | ||
- [`#![feature(const_fn)]` is now no longer required for using | ||
const functions][43017] Still required for creating constant functions. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe add a period and "It's"? |
||
|
||
Compiler | ||
-------- | ||
- [rustc now defaults to having 32 codegen units at debug][44853] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It got reduced to 16 in fact. On master, its also disabled on some targets, but the second PR didn't make it into beta. |
||
- [rustc will no longer inline in codegen units when compiling for debug][45075] | ||
This should decrease compile times for debug builds. | ||
- [strict memory alignment now enabled on ARMv6][45094] | ||
- [Remove support for the PNaCl target `le32-unknown-nacl`][45041] | ||
|
||
Libraries | ||
--------- | ||
- [Allow atomic operations up to 32 bits | ||
on `armv5te_unknown_linux_gnueabi`][44978] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GitHub isn't rendering this link -- perhaps it can't be multiline? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can't replicate this. It's a working link for me. Are you getting still getting this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks fine now. 🤷♂️ |
||
- [`Box<Error>` now impls `Cow<str>`][44466] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A type doesn't implement another type -- it now implements |
||
- [`std::mem::Discriminant` is now guarenteed to be `Send + Sync`][45095] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. *guaranteed |
||
- [`fs::copy` now returns the length of the main stream on NTFS.][44895] | ||
- [Properly detect overflow in `Instant += Duration`.][44220] | ||
- [impl `Hasher` for `{&mut Hasher, Box<Hasher>}`][44015] | ||
- [impl `fmt::Debug` for `SplitWhitespace`.][44303] | ||
|
||
Stabilized APIs | ||
--------------- | ||
|
||
Cargo | ||
----- | ||
- [Cargo will now build multi file examples in subdirectories of the `examples` | ||
folder that have a `main.rs` file.][cargo/4496] | ||
- [Changed `[root]` to `[package]` in `Cargo.lock`][cargo/4571] Packages with | ||
the old format will continue to work and can be updated with `cargo update`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't forget rust-lang/cargo#3992 which is IMO the most important addition to cargo in the current release. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (the entry has been added since but github doesn't show that) |
||
|
||
Misc | ||
---- | ||
- [`libbacktrace` is now available on Apple platforms.][44251] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Never mind, a fix without reverting was found. |
||
- [Stabilised the `compile_fail` attribute for code fences.][43949] This now | ||
lets you specify that a given code example will fail to compile. | ||
|
||
[45075]: https://github.com/rust-lang/rust/pull/45075 | ||
[45094]: https://github.com/rust-lang/rust/pull/45094 | ||
[45095]: https://github.com/rust-lang/rust/pull/45095 | ||
[44853]: https://github.com/rust-lang/rust/pull/44853 | ||
[44895]: https://github.com/rust-lang/rust/pull/44895 | ||
[44966]: https://github.com/rust-lang/rust/pull/44966 | ||
[44978]: https://github.com/rust-lang/rust/pull/44978 | ||
[45041]: https://github.com/rust-lang/rust/pull/45041 | ||
[44466]: https://github.com/rust-lang/rust/pull/44466 | ||
[44220]: https://github.com/rust-lang/rust/pull/44220 | ||
[44251]: https://github.com/rust-lang/rust/pull/44251 | ||
[44303]: https://github.com/rust-lang/rust/pull/44303 | ||
[43949]: https://github.com/rust-lang/rust/pull/43949 | ||
[44015]: https://github.com/rust-lang/rust/pull/44015 | ||
[43716]: https://github.com/rust-lang/rust/pull/43716 | ||
[43017]: https://github.com/rust-lang/rust/pull/43017 | ||
[cargo/4496]: https://github.com/rust-lang/cargo/pull/4496 | ||
[cargo/4571]: https://github.com/rust-lang/cargo/pull/4571 | ||
|
||
|
||
Version 1.21.0 (2017-10-12) | ||
========================== | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'calling const functions' instead of 'using const functions' might be clearer here