|  | 
|  | 1 | +Version 1.25.0 (2018-03-29) | 
|  | 2 | +========================== | 
|  | 3 | + | 
|  | 4 | +Language | 
|  | 5 | +-------- | 
|  | 6 | +- [Stabilised `#[repr(align(x))]`.][47006] [RFC 1358] | 
|  | 7 | +- [You can now use nested groups of imports.][47948] | 
|  | 8 | +  eg. `use std::{fs::File, io::Read, path::{Path, PathBuf}};` | 
|  | 9 | +- [You can now have `|` at the start of a match arm.][47947] eg. | 
|  | 10 | +```rust | 
|  | 11 | +enum Foo { A, B, C } | 
|  | 12 | + | 
|  | 13 | +fn main() { | 
|  | 14 | +    let x = Foo::A; | 
|  | 15 | +    match x { | 
|  | 16 | +        | Foo::A | 
|  | 17 | +        | Foo::B => println!("AB"), | 
|  | 18 | +        | Foo::C => println!("C"), | 
|  | 19 | +    } | 
|  | 20 | +} | 
|  | 21 | +``` | 
|  | 22 | + | 
|  | 23 | +Compiler | 
|  | 24 | +-------- | 
|  | 25 | +- [Upgraded to LLVM 6.][47828] | 
|  | 26 | +- [Added `-C lto=val` option.][47521] | 
|  | 27 | +- [Added `i586-unknown-linux-musl` target][47282] | 
|  | 28 | + | 
|  | 29 | +Libraries | 
|  | 30 | +--------- | 
|  | 31 | +- [Impl Send for `process::Command` on Unix.][47760] | 
|  | 32 | +- [Impl PartialEq and Eq for `ParseCharError`.][47790] | 
|  | 33 | +- [`UnsafeCell::into_inner` is now safe.][47204] | 
|  | 34 | +- [Implement libstd for CloudABI.][47268] | 
|  | 35 | +- [`Float::{from_bits, to_bits}` is now available in libcore.][46931] | 
|  | 36 | +- [renamed `ptr::Shared` to `ptr::NonNull`.][46952] | 
|  | 37 | +- [Implement `AsRef<Path>` for Component][46985] | 
|  | 38 | +- [Deprecated `[T]::rotate` in favor of `[T]::rotate_{left,right}`.][46777] | 
|  | 39 | +- [Implemented `Write` for `Cursor<&mut Vec<T>>`][46830] | 
|  | 40 | +- [Moved `Duration` to libcore.][46666] | 
|  | 41 | + | 
|  | 42 | +Stabilized APIs | 
|  | 43 | +--------------- | 
|  | 44 | +- [`Location::column`] | 
|  | 45 | + | 
|  | 46 | +The following functions can now be used in a constant expression. | 
|  | 47 | +eg. `static MINUTE: Duration = Duration::from_secs(60);` | 
|  | 48 | +- [`Duration::new`][47300] | 
|  | 49 | +- [`Duration::from_secs`][47300] | 
|  | 50 | +- [`Duration::from_millis`][47300] | 
|  | 51 | +- [`Duration::from_micros`][47300] | 
|  | 52 | +- [`Duration::from_nanos`][47300] | 
|  | 53 | + | 
|  | 54 | +Cargo | 
|  | 55 | +----- | 
|  | 56 | +- [`cargo new` no longer removes `rust` or `rs` prefixs/suffixs.][cargo/5013] | 
|  | 57 | +- [`cargo new` now defaults to creating a binary crate, instead of a | 
|  | 58 | +  libary crate.][cargo/5029] | 
|  | 59 | + | 
|  | 60 | +Misc | 
|  | 61 | +---- | 
|  | 62 | + | 
|  | 63 | +Compatibility Notes | 
|  | 64 | +------------------- | 
|  | 65 | +- [Deprecated `net::lookup_host`.][47510] | 
|  | 66 | +- [`rustdoc` has switched to pulldown as the default markdown renderer.][47398] | 
|  | 67 | +- The borrow checker was sometimes incorrectly permitting overlapping borrows | 
|  | 68 | +  around indexing operations (see #47349). This has been fixed (which also | 
|  | 69 | +  enabled some correct code that used to cause errors (e.g. #33903 and #46095). | 
|  | 70 | +- [Removed deprecated unstable attribute `#[simd]`.][47251] | 
|  | 71 | + | 
|  | 72 | +[47947]: https://github.com/rust-lang/rust/pull/47947 | 
|  | 73 | +[47948]: https://github.com/rust-lang/rust/pull/47948 | 
|  | 74 | +[47760]: https://github.com/rust-lang/rust/pull/47760 | 
|  | 75 | +[47790]: https://github.com/rust-lang/rust/pull/47790 | 
|  | 76 | +[47828]: https://github.com/rust-lang/rust/pull/47828 | 
|  | 77 | +[47398]: https://github.com/rust-lang/rust/pull/47398 | 
|  | 78 | +[47510]: https://github.com/rust-lang/rust/pull/47510 | 
|  | 79 | +[47521]: https://github.com/rust-lang/rust/pull/47521 | 
|  | 80 | +[47204]: https://github.com/rust-lang/rust/pull/47204 | 
|  | 81 | +[47251]: https://github.com/rust-lang/rust/pull/47251 | 
|  | 82 | +[47268]: https://github.com/rust-lang/rust/pull/47268 | 
|  | 83 | +[47282]: https://github.com/rust-lang/rust/pull/47282 | 
|  | 84 | +[47300]: https://github.com/rust-lang/rust/pull/47300 | 
|  | 85 | +[46931]: https://github.com/rust-lang/rust/pull/46931 | 
|  | 86 | +[46952]: https://github.com/rust-lang/rust/pull/46952 | 
|  | 87 | +[46985]: https://github.com/rust-lang/rust/pull/46985 | 
|  | 88 | +[47006]: https://github.com/rust-lang/rust/pull/47006 | 
|  | 89 | +[46777]: https://github.com/rust-lang/rust/pull/46777 | 
|  | 90 | +[46830]: https://github.com/rust-lang/rust/pull/46830 | 
|  | 91 | +[46666]: https://github.com/rust-lang/rust/pull/46666 | 
|  | 92 | +[cargo/5013]: https://github.com/rust-lang/cargo/pull/5013 | 
|  | 93 | +[cargo/5029]: https://github.com/rust-lang/cargo/pull/5029 | 
|  | 94 | +[RFC 1358]: https://github.com/rust-lang/rfcs/pull/1358 | 
|  | 95 | +[`Location::column`]: https://doc.rust-lang.org/std/panic/struct.Location.html#method.column | 
|  | 96 | + | 
|  | 97 | + | 
| 1 | 98 | Version 1.24.0 (2018-02-15) | 
| 2 | 99 | ========================== | 
| 3 | 100 | 
 | 
|  | 
0 commit comments