From 3350eafbe00fdc89a27693fad183fd1e54f9a1e3 Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Fri, 3 Aug 2018 16:07:03 +0100 Subject: [PATCH 1/4] Updated RELEASES.md for 1.29.0 --- RELEASES.md | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index e969b91b2b643..2f9dfb65f7d39 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,80 @@ +Version 1.29.0 (2018-09-13) +========================== + +Compiler +-------- +- [Bumped minimum LLVM version to 5.0.][51899] +- [Added `powerpc64le-unknown-linux-musl` target.][51619] +- [Added `aarch64-unknown-hermit` and `x86_64-unknown-hermit` targets.][52861] + +Libraries +--------- +- [`Once::call_once` now no longer requires `Once` to be `'static`.][52239] +- [`BuildHasherDefault` now implements `PartialEq` and `Eq`.][52402] +- [`Box`, `Box`, and `Box` now implement `Clone`.][51912] +- [Implemented `PartialEq<&str>` for `OsString` and `PartialEq` + for `&str`.][51178] +- [`Cell` now allows `T` to be unsized.][50494] +- [`SocketAddr` is now stable on Redox.][52656] + +Stabilized APIs +--------------- +- [`Arc::downcast`] +- [`Iterator::flatten`] +- [`Rc::downcast`] + +Cargo +----- +- [Cargo can silently fix some bad lockfiles ][cargo/5831] You can use + `--locked` to disable this behaviour. +- [`cargo-install` will now ignore the target triple specified in a project + directory's `.cargo/config`.][cargo/5606] +- [`cargo-install` will now allow you to cross compile an install + using `--target`][cargo/5614] +- [Added the `cargo-fix` to automatically move project code from 2015 edition + to 2018.][cargo/5723] + +Misc +---- +- [`rustdoc` now has the `--cap-lints` which allows you to set what level of + lint will cause and compilation failure.][52354] +- [`rustc` and `rustdoc` will now have the exit code of one if compilation + fails, and 101 if there is a panic.][52197] + +Compatibility Notes +------------------- +- [`str::{slice_unchecked, slice_unchecked_mut}` are now deprecated.][51807] + Use `str::get_unchecked(begin..end)` instead. +- [`std::env::home_dir` is now deprecated for it's unintuitive behaviour.][51656] + Consider using the `home_dir` function from + https://crates.io/crates/dirs instead. +- [`rustc` will no longer silently ignore invalid data in target spec.][52330] + +[52861]: https://github.com/rust-lang/rust/pull/52861/ +[52656]: https://github.com/rust-lang/rust/pull/52656/ +[52239]: https://github.com/rust-lang/rust/pull/52239/ +[52330]: https://github.com/rust-lang/rust/pull/52330/ +[52354]: https://github.com/rust-lang/rust/pull/52354/ +[52402]: https://github.com/rust-lang/rust/pull/52402/ +[52103]: https://github.com/rust-lang/rust/pull/52103/ +[52197]: https://github.com/rust-lang/rust/pull/52197/ +[51807]: https://github.com/rust-lang/rust/pull/51807/ +[51899]: https://github.com/rust-lang/rust/pull/51899/ +[51912]: https://github.com/rust-lang/rust/pull/51912/ +[51511]: https://github.com/rust-lang/rust/pull/51511/ +[51619]: https://github.com/rust-lang/rust/pull/51619/ +[51656]: https://github.com/rust-lang/rust/pull/51656/ +[51178]: https://github.com/rust-lang/rust/pull/51178/ +[50494]: https://github.com/rust-lang/rust/pull/50494/ +[cargo/5606]: https://github.com/rust-lang/cargo/pull/5606/ +[cargo/5614]: https://github.com/rust-lang/cargo/pull/5614/ +[cargo/5723]: https://github.com/rust-lang/cargo/pull/5723/ +[cargo/5831]: https://github.com/rust-lang/cargo/pull/5831/ +[`Arc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast +[`Iterator::flatten`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.flatten +[`Rc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Rc.html#method.downcast + + Version 1.28.0 (2018-08-02) =========================== From a646c101490dd601058fad2b429937ae1d04695c Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Fri, 3 Aug 2018 18:27:25 +0100 Subject: [PATCH 2/4] Update RELEASES.md --- RELEASES.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 2f9dfb65f7d39..58fc4516842fe 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -29,23 +29,22 @@ Cargo `--locked` to disable this behaviour. - [`cargo-install` will now ignore the target triple specified in a project directory's `.cargo/config`.][cargo/5606] -- [`cargo-install` will now allow you to cross compile an install - using `--target`][cargo/5614] -- [Added the `cargo-fix` to automatically move project code from 2015 edition - to 2018.][cargo/5723] +- [Added the `cargo-fix` subcommand to automatically move project code from + 2015 edition to 2018.][cargo/5723] Misc ---- -- [`rustdoc` now has the `--cap-lints` which allows you to set what level of - lint will cause and compilation failure.][52354] -- [`rustc` and `rustdoc` will now have the exit code of one if compilation - fails, and 101 if there is a panic.][52197] +- [`rustdoc` now has the `--cap-lints` option which demotes all lints above + the specified level to that level.][52354] For example `--cap-lints warn` + will demote `deny` and `forbid` lints to `warn`. +- [`rustc` and `rustdoc` will now have the exit code of `1` if compilation + fails, and `101` if there is a panic.][52197] Compatibility Notes ------------------- - [`str::{slice_unchecked, slice_unchecked_mut}` are now deprecated.][51807] Use `str::get_unchecked(begin..end)` instead. -- [`std::env::home_dir` is now deprecated for it's unintuitive behaviour.][51656] +- [`std::env::home_dir` is now deprecated for its unintuitive behaviour.][51656] Consider using the `home_dir` function from https://crates.io/crates/dirs instead. - [`rustc` will no longer silently ignore invalid data in target spec.][52330] @@ -67,7 +66,6 @@ Compatibility Notes [51178]: https://github.com/rust-lang/rust/pull/51178/ [50494]: https://github.com/rust-lang/rust/pull/50494/ [cargo/5606]: https://github.com/rust-lang/cargo/pull/5606/ -[cargo/5614]: https://github.com/rust-lang/cargo/pull/5614/ [cargo/5723]: https://github.com/rust-lang/cargo/pull/5723/ [cargo/5831]: https://github.com/rust-lang/cargo/pull/5831/ [`Arc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast From 96f50f1edc79fe4b718262ae6a275bc0a43d66b6 Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Fri, 3 Aug 2018 18:56:54 +0100 Subject: [PATCH 3/4] Update RELEASES.md --- RELEASES.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 58fc4516842fe..5886e919c364d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -27,8 +27,8 @@ Cargo ----- - [Cargo can silently fix some bad lockfiles ][cargo/5831] You can use `--locked` to disable this behaviour. -- [`cargo-install` will now ignore the target triple specified in a project - directory's `.cargo/config`.][cargo/5606] +- [`cargo-install` will now allow you to cross compile an install + using `--target`][cargo/5614] - [Added the `cargo-fix` subcommand to automatically move project code from 2015 edition to 2018.][cargo/5723] @@ -65,7 +65,7 @@ Compatibility Notes [51656]: https://github.com/rust-lang/rust/pull/51656/ [51178]: https://github.com/rust-lang/rust/pull/51178/ [50494]: https://github.com/rust-lang/rust/pull/50494/ -[cargo/5606]: https://github.com/rust-lang/cargo/pull/5606/ +[cargo/5614]: https://github.com/rust-lang/cargo/pull/5614/ [cargo/5723]: https://github.com/rust-lang/cargo/pull/5723/ [cargo/5831]: https://github.com/rust-lang/cargo/pull/5831/ [`Arc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast From b4924bf72728f6f022daceeb657239ee51d5cde7 Mon Sep 17 00:00:00 2001 From: Aaron Power Date: Fri, 3 Aug 2018 20:54:07 +0100 Subject: [PATCH 4/4] Update RELEASES.md --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 5886e919c364d..b243af8751bf8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -70,7 +70,7 @@ Compatibility Notes [cargo/5831]: https://github.com/rust-lang/cargo/pull/5831/ [`Arc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Arc.html#method.downcast [`Iterator::flatten`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.flatten -[`Rc::downcast`]: https://doc.rust-lang.org/std/sync/struct.Rc.html#method.downcast +[`Rc::downcast`]: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.downcast Version 1.28.0 (2018-08-02)