From 332759d6f012bb12b307131298421dc86402647b Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Sun, 22 Oct 2017 20:14:06 +0100 Subject: [PATCH 1/7] Updated Release notes for 1.22.0 --- RELEASES.md | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index 194745d9caad4..a2cbbbd64e1f0 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,69 @@ +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. + +Compiler +-------- +- [rustc now defaults to having 32 codegen units at debug][44853] +- [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] +- [`Box` now impls `Cow`][44466] +- [`std::mem::Discriminant` is now guarenteed to be `Send + Sync` if `T` + is `Send + Sync`][45095] +- [`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}`][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`. + +Misc +---- +- [`libbacktrace` is now available on Apple platforms.][44251] +- [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) ========================== From 4fbf56c82849e9ece12d7a2cfbcd8d683d1628b0 Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Sun, 22 Oct 2017 20:24:15 +0100 Subject: [PATCH 2/7] Update RELEASES.md --- RELEASES.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index a2cbbbd64e1f0..2297a77cc09f8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -21,8 +21,7 @@ Libraries - [Allow atomic operations up to 32 bits on `armv5te_unknown_linux_gnueabi`][44978] - [`Box` now impls `Cow`][44466] -- [`std::mem::Discriminant` is now guarenteed to be `Send + Sync` if `T` - is `Send + Sync`][45095] +- [`std::mem::Discriminant` is now guarenteed to be `Send + Sync`][45095] - [`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}`][44015] From 045032ad2d5141da22d80b899abc6e688412e6f1 Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Mon, 23 Oct 2017 10:15:29 +0100 Subject: [PATCH 3/7] Update RELEASES.md --- RELEASES.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 2297a77cc09f8..33f7e708f6f45 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -5,12 +5,13 @@ 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. +- [`#![feature(const_fn)]` is now no longer required for + calling const functions.][43017] It's Still required for creating + constant functions. Compiler -------- -- [rustc now defaults to having 32 codegen units at debug][44853] +- [rustc now defaults to having 16 codegen units at debug on supported platforms.][44853] - [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] @@ -36,6 +37,7 @@ Cargo 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`. +- [Now supports vendoring git repositories][cargo/3992] Misc ---- @@ -46,7 +48,7 @@ Misc [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 +[45064]: https://github.com/rust-lang/rust/pull/45064 [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 @@ -59,6 +61,7 @@ Misc [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/3992]: https://github.com/rust-lang/cargo/pull/3992 [cargo/4496]: https://github.com/rust-lang/cargo/pull/4496 [cargo/4571]: https://github.com/rust-lang/cargo/pull/4571 From 7e2552741987dad46f1462d3540866680629036e Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Thu, 26 Oct 2017 11:03:34 +0100 Subject: [PATCH 4/7] Update RELEASES.md --- RELEASES.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 33f7e708f6f45..e2bc4cdacc923 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -6,12 +6,12 @@ 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 - calling const functions.][43017] It's Still required for creating + calling const functions.][43017] It's still required for creating constant functions. Compiler -------- -- [rustc now defaults to having 16 codegen units at debug on supported platforms.][44853] +- [rustc now defaults to having 16 codegen units at debug on supported platforms.][45064] - [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] @@ -21,8 +21,8 @@ Libraries --------- - [Allow atomic operations up to 32 bits on `armv5te_unknown_linux_gnueabi`][44978] -- [`Box` now impls `Cow`][44466] -- [`std::mem::Discriminant` is now guarenteed to be `Send + Sync`][45095] +- [`Box` now impls `From>`][44466] +- [`std::mem::Discriminant` is now guaranteed to be `Send + Sync`][45095] - [`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}`][44015] From 5a9d833e0d27d23a087069ca65475e188b3be15d Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Wed, 1 Nov 2017 10:18:57 +0000 Subject: [PATCH 5/7] Update RELEASES.md --- RELEASES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index e2bc4cdacc923..93cf0179c9671 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -45,6 +45,10 @@ Misc - [Stabilised the `compile_fail` attribute for code fences.][43949] This now lets you specify that a given code example will fail to compile. +Compatibility Notes +------------------- +- [The minimum Android version that rustc can build for has been bumped to `4.0` from `2.3`][43880] + [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 From b93c95a4b4cd12a943ae3f741026e43161cd87e8 Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Wed, 1 Nov 2017 10:19:36 +0000 Subject: [PATCH 6/7] Update RELEASES.md --- RELEASES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 93cf0179c9671..c3fe4f53e5489 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -47,7 +47,7 @@ Misc Compatibility Notes ------------------- -- [The minimum Android version that rustc can build for has been bumped to `4.0` from `2.3`][43880] +- [The minimum Android version that rustc can build for has been bumped to `4.0` from `2.3`][45656] [45075]: https://github.com/rust-lang/rust/pull/45075 [45094]: https://github.com/rust-lang/rust/pull/45094 @@ -65,6 +65,7 @@ Compatibility Notes [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 +[45656]: https://github.com/rust-lang/rust/pull/45656 [cargo/3992]: https://github.com/rust-lang/cargo/pull/3992 [cargo/4496]: https://github.com/rust-lang/cargo/pull/4496 [cargo/4571]: https://github.com/rust-lang/cargo/pull/4571 From e0ac8647b6acac7ea5f894e3b9d66bf1c4915087 Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Mon, 13 Nov 2017 21:48:01 +0000 Subject: [PATCH 7/7] Update RELEASES.md --- RELEASES.md | 41 ++++++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index c3fe4f53e5489..7a3b097611e8c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -8,6 +8,8 @@ Language - [`#![feature(const_fn)]` is now no longer required for calling const functions.][43017] It's still required for creating constant functions. +- [`T op= &T` now works for numeric types.][44287] eg. `let mut x = 2; x += &8;` +- [types that impl `Drop` are now allowed in `const` and `static` types][44456] Compiler -------- @@ -27,6 +29,7 @@ Libraries - [Properly detect overflow in `Instant += Duration`.][44220] - [impl `Hasher` for `{&mut Hasher, Box}`][44015] - [impl `fmt::Debug` for `SplitWhitespace`.][44303] +- [`Option` now impls `Try`][42526] This allows for using `?` with `Option` types. Stabilized APIs --------------- @@ -47,30 +50,42 @@ Misc Compatibility Notes ------------------- -- [The minimum Android version that rustc can build for has been bumped to `4.0` from `2.3`][45656] +- [The minimum Android version that rustc can build for has been bumped + to `4.0` from `2.3`][45656] +- [Allowing `T op= &T` for numeric types has broken some type + inference cases][45480] -[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 -[45064]: https://github.com/rust-lang/rust/pull/45064 + +[42526]: https://github.com/rust-lang/rust/pull/42526 +[43017]: https://github.com/rust-lang/rust/pull/43017 +[43716]: https://github.com/rust-lang/rust/pull/43716 +[43949]: https://github.com/rust-lang/rust/pull/43949 +[44015]: https://github.com/rust-lang/rust/pull/44015 +[44220]: https://github.com/rust-lang/rust/pull/44220 +[44251]: https://github.com/rust-lang/rust/pull/44251 +[44287]: https://github.com/rust-lang/rust/pull/44287 +[44303]: https://github.com/rust-lang/rust/pull/44303 +[44456]: https://github.com/rust-lang/rust/pull/44456 +[44466]: https://github.com/rust-lang/rust/pull/44466 [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 +[45064]: https://github.com/rust-lang/rust/pull/45064 +[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 +[45480]: https://github.com/rust-lang/rust/issues/45480 [45656]: https://github.com/rust-lang/rust/pull/45656 [cargo/3992]: https://github.com/rust-lang/cargo/pull/3992 [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) ==========================