Skip to content

Commit 332759d

Browse files
author
Aaron Power
committed
Updated Release notes for 1.22.0
1 parent fc1a03d commit 332759d

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

RELEASES.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
Version 1.22.0 (2017-11-23)
2+
==========================
3+
4+
Language
5+
--------
6+
- [`non_snake_case` lint now allows extern no-mangle functions][44966]
7+
- [Now accepts underscores in unicode escapes][43716]
8+
- [`#![feature(const_fn)]` is now no longer required for using
9+
const functions][43017] Still required for creating constant functions.
10+
11+
Compiler
12+
--------
13+
- [rustc now defaults to having 32 codegen units at debug][44853]
14+
- [rustc will no longer inline in codegen units when compiling for debug][45075]
15+
This should decrease compile times for debug builds.
16+
- [strict memory alignment now enabled on ARMv6][45094]
17+
- [Remove support for the PNaCl target `le32-unknown-nacl`][45041]
18+
19+
Libraries
20+
---------
21+
- [Allow atomic operations up to 32 bits
22+
on `armv5te_unknown_linux_gnueabi`][44978]
23+
- [`Box<Error>` now impls `Cow<str>`][44466]
24+
- [`std::mem::Discriminant` is now guarenteed to be `Send + Sync` if `T`
25+
is `Send + Sync`][45095]
26+
- [`fs::copy` now returns the length of the main stream on NTFS.][44895]
27+
- [Properly detect overflow in `Instant += Duration`.][44220]
28+
- [impl `Hasher` for `{&mut Hasher, Box<Hasher>}`][44015]
29+
- [impl `fmt::Debug` for `SplitWhitespace`.][44303]
30+
31+
Stabilized APIs
32+
---------------
33+
34+
Cargo
35+
-----
36+
- [Cargo will now build multi file examples in subdirectories of the `examples`
37+
folder that have a `main.rs` file.][cargo/4496]
38+
- [Changed `[root]` to `[package]` in `Cargo.lock`][cargo/4571] Packages with
39+
the old format will continue to work and can be updated with `cargo update`.
40+
41+
Misc
42+
----
43+
- [`libbacktrace` is now available on Apple platforms.][44251]
44+
- [Stabilised the `compile_fail` attribute for code fences.][43949] This now
45+
lets you specify that a given code example will fail to compile.
46+
47+
[45075]: https://github.com/rust-lang/rust/pull/45075
48+
[45094]: https://github.com/rust-lang/rust/pull/45094
49+
[45095]: https://github.com/rust-lang/rust/pull/45095
50+
[44853]: https://github.com/rust-lang/rust/pull/44853
51+
[44895]: https://github.com/rust-lang/rust/pull/44895
52+
[44966]: https://github.com/rust-lang/rust/pull/44966
53+
[44978]: https://github.com/rust-lang/rust/pull/44978
54+
[45041]: https://github.com/rust-lang/rust/pull/45041
55+
[44466]: https://github.com/rust-lang/rust/pull/44466
56+
[44220]: https://github.com/rust-lang/rust/pull/44220
57+
[44251]: https://github.com/rust-lang/rust/pull/44251
58+
[44303]: https://github.com/rust-lang/rust/pull/44303
59+
[43949]: https://github.com/rust-lang/rust/pull/43949
60+
[44015]: https://github.com/rust-lang/rust/pull/44015
61+
[43716]: https://github.com/rust-lang/rust/pull/43716
62+
[43017]: https://github.com/rust-lang/rust/pull/43017
63+
[cargo/4496]: https://github.com/rust-lang/cargo/pull/4496
64+
[cargo/4571]: https://github.com/rust-lang/cargo/pull/4571
65+
66+
167
Version 1.21.0 (2017-10-12)
268
==========================
369

0 commit comments

Comments
 (0)