|  | 
|  | 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 | 
|  | 9 | +  calling const functions.][43017] It's still required for creating | 
|  | 10 | +  constant functions. | 
|  | 11 | +- [`T op= &T` now works for numeric types.][44287] eg. `let mut x = 2; x += &8;` | 
|  | 12 | +- [types that impl `Drop` are now allowed in `const` and `static` types][44456] | 
|  | 13 | + | 
|  | 14 | +Compiler | 
|  | 15 | +-------- | 
|  | 16 | +- [rustc now defaults to having 16 codegen units at debug on supported platforms.][45064] | 
|  | 17 | +- [rustc will no longer inline in codegen units when compiling for debug][45075] | 
|  | 18 | +  This should decrease compile times for debug builds. | 
|  | 19 | +- [strict memory alignment now enabled on ARMv6][45094] | 
|  | 20 | +- [Remove support for the PNaCl target `le32-unknown-nacl`][45041] | 
|  | 21 | + | 
|  | 22 | +Libraries | 
|  | 23 | +--------- | 
|  | 24 | +- [Allow atomic operations up to 32 bits | 
|  | 25 | +  on `armv5te_unknown_linux_gnueabi`][44978] | 
|  | 26 | +- [`Box<Error>` now impls `From<Cow<str>>`][44466] | 
|  | 27 | +- [`std::mem::Discriminant` is now guaranteed to be `Send + Sync`][45095] | 
|  | 28 | +- [`fs::copy` now returns the length of the main stream on NTFS.][44895] | 
|  | 29 | +- [Properly detect overflow in `Instant += Duration`.][44220] | 
|  | 30 | +- [impl `Hasher` for `{&mut Hasher, Box<Hasher>}`][44015] | 
|  | 31 | +- [impl `fmt::Debug` for `SplitWhitespace`.][44303] | 
|  | 32 | +- [`Option<T>` now impls `Try`][42526] This allows for using `?` with `Option` types. | 
|  | 33 | + | 
|  | 34 | +Stabilized APIs | 
|  | 35 | +--------------- | 
|  | 36 | + | 
|  | 37 | +Cargo | 
|  | 38 | +----- | 
|  | 39 | +- [Cargo will now build multi file examples in subdirectories of the `examples` | 
|  | 40 | +  folder that have a `main.rs` file.][cargo/4496] | 
|  | 41 | +- [Changed `[root]` to `[package]` in `Cargo.lock`][cargo/4571] Packages with | 
|  | 42 | +  the old format will continue to work and can be updated with `cargo update`. | 
|  | 43 | +- [Now supports vendoring git repositories][cargo/3992] | 
|  | 44 | + | 
|  | 45 | +Misc | 
|  | 46 | +---- | 
|  | 47 | +- [`libbacktrace` is now available on Apple platforms.][44251] | 
|  | 48 | +- [Stabilised the `compile_fail` attribute for code fences.][43949] This now | 
|  | 49 | +  lets you specify that a given code example will fail to compile. | 
|  | 50 | + | 
|  | 51 | +Compatibility Notes | 
|  | 52 | +------------------- | 
|  | 53 | +- [The minimum Android version that rustc can build for has been bumped | 
|  | 54 | +  to `4.0` from `2.3`][45656] | 
|  | 55 | +- [Allowing `T op= &T` for numeric types has broken some type | 
|  | 56 | +  inference cases][45480] | 
|  | 57 | + | 
|  | 58 | + | 
|  | 59 | +[42526]: https://github.com/rust-lang/rust/pull/42526 | 
|  | 60 | +[43017]: https://github.com/rust-lang/rust/pull/43017 | 
|  | 61 | +[43716]: https://github.com/rust-lang/rust/pull/43716 | 
|  | 62 | +[43949]: https://github.com/rust-lang/rust/pull/43949 | 
|  | 63 | +[44015]: https://github.com/rust-lang/rust/pull/44015 | 
|  | 64 | +[44220]: https://github.com/rust-lang/rust/pull/44220 | 
|  | 65 | +[44251]: https://github.com/rust-lang/rust/pull/44251 | 
|  | 66 | +[44287]: https://github.com/rust-lang/rust/pull/44287 | 
|  | 67 | +[44303]: https://github.com/rust-lang/rust/pull/44303 | 
|  | 68 | +[44456]: https://github.com/rust-lang/rust/pull/44456 | 
|  | 69 | +[44466]: https://github.com/rust-lang/rust/pull/44466 | 
|  | 70 | +[44895]: https://github.com/rust-lang/rust/pull/44895 | 
|  | 71 | +[44966]: https://github.com/rust-lang/rust/pull/44966 | 
|  | 72 | +[44978]: https://github.com/rust-lang/rust/pull/44978 | 
|  | 73 | +[45041]: https://github.com/rust-lang/rust/pull/45041 | 
|  | 74 | +[45064]: https://github.com/rust-lang/rust/pull/45064 | 
|  | 75 | +[45075]: https://github.com/rust-lang/rust/pull/45075 | 
|  | 76 | +[45094]: https://github.com/rust-lang/rust/pull/45094 | 
|  | 77 | +[45095]: https://github.com/rust-lang/rust/pull/45095 | 
|  | 78 | +[45480]: https://github.com/rust-lang/rust/issues/45480 | 
|  | 79 | +[45656]: https://github.com/rust-lang/rust/pull/45656 | 
|  | 80 | +[cargo/3992]: https://github.com/rust-lang/cargo/pull/3992 | 
|  | 81 | +[cargo/4496]: https://github.com/rust-lang/cargo/pull/4496 | 
|  | 82 | +[cargo/4571]: https://github.com/rust-lang/cargo/pull/4571 | 
|  | 83 | + | 
|  | 84 | + | 
|  | 85 | + | 
|  | 86 | + | 
|  | 87 | + | 
|  | 88 | + | 
| 1 | 89 | Version 1.21.0 (2017-10-12) | 
| 2 | 90 | ========================== | 
| 3 | 91 | 
 | 
|  | 
0 commit comments