-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 RELEASES.md for 1.29.0 #53030
Changes from 1 commit
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,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] | ||
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'm not sure what this means. Are you referring to the closure being passed to 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. Not the closure, previously 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. What do you think about rephrasing this as " |
||
- [`BuildHasherDefault` now implements `PartialEq` and `Eq`.][52402] | ||
- [`Box<CStr>`, `Box<OsStr>`, and `Box<Path>` now implement `Clone`.][51912] | ||
- [Implemented `PartialEq<&str>` for `OsString` and `PartialEq<OsString>` | ||
for `&str`.][51178] | ||
- [`Cell<T>` 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 | ||
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. Per this comment it seems like this was reverted again. |
||
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 | ||
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. You might add a noun somewhere like "subcommand" or "tool", like:
|
||
to 2018.][cargo/5723] | ||
|
||
Misc | ||
---- | ||
- [`rustdoc` now has the `--cap-lints` which allows you to set what level of | ||
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.
Remove the "the".
The purpose of cap-lints is to make all lints not exceeding the specified level. For instance, if we pass Perhaps just express this flag being "equivalent to that in rustc". |
||
lint will cause and compilation failure.][52354] | ||
- [`rustc` and `rustdoc` will now have the exit code of one if compilation | ||
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 suggest writing "1" instead of "one" here... |
||
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] | ||
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's ↦ its |
||
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) | ||
=========================== | ||
|
||
|
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.
Sorry if this is naive to ask -- but is this ever actually visible to users? Isn't LLVM vendored either way?
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.
It's relevant to distros, so worth noting here I think.
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.
Again, this is entirely me being uninformed, but if you have time do you mind explaining to me why it is relevant to distros? (If you don't have time or don't care to explain this I completely understand)
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.
Since we've removed code from the LLVM shims that was needed for 4.9 (or whatever the previous version was, maybe 3.9) compatibility, distros that package that previous LLVM might need to do more work now. However, I believe that someone did a loose survey and we believe that most if not all distros are on 5.0+ already.
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.
Isn't it vendored either way though?
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.
You can build with your own external LLVM too, and distros usually do.