|
| 1 | +Version 1.38.0 (2019-09-26) |
| 2 | +========================== |
| 3 | + |
| 4 | +Language |
| 5 | +-------- |
| 6 | +- [The `#[global_allocator]` attribute can now be used in submodules.][62735] |
| 7 | +- [The `#[deprecated]` attribute can now be used on macros.][62042] |
| 8 | + |
| 9 | +Compiler |
| 10 | +-------- |
| 11 | +- [Added pipelined compilation support to `rustc`.][62766] This will |
| 12 | + improve compilation times in some cases. For further information please refer |
| 13 | + to the [_"Evaluating pipelined rustc compilation"_][pipeline-internals] thread. |
| 14 | +- [Added tier 3\* support for the `aarch64-uwp-windows-msvc`, `i686-uwp-windows-gnu`, |
| 15 | + `i686-uwp-windows-msvc`, `x86_64-uwp-windows-gnu`, and |
| 16 | + `x86_64-uwp-windows-msvc` targets.][60260] |
| 17 | +- [Added tier 3 support for the `armv7-unknown-linux-gnueabi` and |
| 18 | + `armv7-unknown-linux-musleabi` targets.][63107] |
| 19 | +- [Added tier 3 support for the `hexagon-unknown-linux-musl` target.][62814] |
| 20 | +- [Added tier 3 support for the `riscv32i-unknown-none-elf` target.][62784] |
| 21 | + |
| 22 | +\* Refer to Rust's [platform support page][forge-platform-support] for more |
| 23 | +information on Rust's tiered platform support. |
| 24 | + |
| 25 | +Libraries |
| 26 | +--------- |
| 27 | +- [`ascii::EscapeDefault` now implements `Clone` and `Display`.][63421] |
| 28 | +- [Derive macros for prelude traits (e.g. `Clone`, `Debug`, `Hash`) are now |
| 29 | + available at the same path as the trait.][63056] (e.g. The `Clone` derive macro |
| 30 | + is available at `std::clone::Clone`). This also makes all built-in macros |
| 31 | + available in `std`/`core` root. e.g. `std::include_bytes!`. |
| 32 | +- [`str::Chars` now implements `Debug`.][63000] |
| 33 | +- [`slice::{concat, connect, join}` now accepts `&[T]` in addition to `&T`.][62528] |
| 34 | +- [`*const T` and `*mut T` now implement `marker::Unpin`.][62583] |
| 35 | +- [`Arc<[T]>` and `Rc<[T]>` now implement `FromIterator<T>`.][61953] |
| 36 | +- [Added euclidean remainder and division operations (`div_euclid`, |
| 37 | + `rem_euclid`) to all numeric primitives.][61884] Additionally `checked`, |
| 38 | + `overflowing`, and `wrapping` versions are available for all |
| 39 | + integer primitives. |
| 40 | +- [`thread::AccessError` now implements `Clone`, `Copy`, `Eq`, `Error`, and |
| 41 | + `PartialEq`.][61491] |
| 42 | +- [`iter::{StepBy, Peekable, Take}` now implement `DoubleEndedIterator`.][61457] |
| 43 | + |
| 44 | +Stabilized APIs |
| 45 | +--------------- |
| 46 | +- [`<*const T>::cast`] |
| 47 | +- [`<*mut T>::cast`] |
| 48 | +- [`Duration::as_secs_f32`] |
| 49 | +- [`Duration::as_secs_f64`] |
| 50 | +- [`Duration::div_duration_f32`] |
| 51 | +- [`Duration::div_duration_f64`] |
| 52 | +- [`Duration::div_f32`] |
| 53 | +- [`Duration::div_f64`] |
| 54 | +- [`Duration::from_secs_f32`] |
| 55 | +- [`Duration::from_secs_f64`] |
| 56 | +- [`Duration::mul_f32`] |
| 57 | +- [`Duration::mul_f64`] |
| 58 | +- [`any::type_name`] |
| 59 | + |
| 60 | +Cargo |
| 61 | +----- |
| 62 | +- [Added pipelined compilation support to `cargo`.][cargo/7143] |
| 63 | +- [You can now pass the `--features` option multiple times to enable |
| 64 | + multiple features.][cargo/7084] |
| 65 | + |
| 66 | +Misc |
| 67 | +---- |
| 68 | +- [`rustc` will now warn about some incorrect uses of |
| 69 | + `mem::{uninitialized, zeroed}` that are known to cause undefined behaviour.][63346] |
| 70 | + |
| 71 | +[60260]: https://github.com/rust-lang/rust/pull/60260/ |
| 72 | +[61457]: https://github.com/rust-lang/rust/pull/61457/ |
| 73 | +[61491]: https://github.com/rust-lang/rust/pull/61491/ |
| 74 | +[61884]: https://github.com/rust-lang/rust/pull/61884/ |
| 75 | +[61953]: https://github.com/rust-lang/rust/pull/61953/ |
| 76 | +[62042]: https://github.com/rust-lang/rust/pull/62042/ |
| 77 | +[62528]: https://github.com/rust-lang/rust/pull/62528/ |
| 78 | +[62583]: https://github.com/rust-lang/rust/pull/62583/ |
| 79 | +[62735]: https://github.com/rust-lang/rust/pull/62735/ |
| 80 | +[62766]: https://github.com/rust-lang/rust/pull/62766/ |
| 81 | +[62784]: https://github.com/rust-lang/rust/pull/62784/ |
| 82 | +[62814]: https://github.com/rust-lang/rust/pull/62814/ |
| 83 | +[63000]: https://github.com/rust-lang/rust/pull/63000/ |
| 84 | +[63056]: https://github.com/rust-lang/rust/pull/63056/ |
| 85 | +[63107]: https://github.com/rust-lang/rust/pull/63107/ |
| 86 | +[63346]: https://github.com/rust-lang/rust/pull/63346/ |
| 87 | +[63421]: https://github.com/rust-lang/rust/pull/63421/ |
| 88 | +[cargo/7084]: https://github.com/rust-lang/cargo/pull/7084/ |
| 89 | +[cargo/7143]: https://github.com/rust-lang/cargo/pull/7143/ |
| 90 | +[`<*const T>::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast |
| 91 | +[`<*mut T>::cast`]: https://doc.rust-lang.org/std/primitive.pointer.html#method.cast |
| 92 | +[`Duration::as_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f32 |
| 93 | +[`Duration::as_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.as_secs_f64 |
| 94 | +[`Duration::div_duration_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_duration_f32 |
| 95 | +[`Duration::div_duration_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_duration_f64 |
| 96 | +[`Duration::div_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f32 |
| 97 | +[`Duration::div_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.div_f64 |
| 98 | +[`Duration::from_secs_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f32 |
| 99 | +[`Duration::from_secs_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.from_secs_f64 |
| 100 | +[`Duration::mul_f32`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f32 |
| 101 | +[`Duration::mul_f64`]: https://doc.rust-lang.org/std/time/struct.Duration.html#method.mul_f64 |
| 102 | +[`any::type_name`]: https://doc.rust-lang.org/std/any/fn.type_name.html |
| 103 | +[forge-platform-support]: https://forge.rust-lang.org/platform-support.html |
| 104 | +[pipeline-internals]: https://internals.rust-lang.org/t/evaluating-pipelined-rustc-compilation/10199 |
| 105 | + |
1 | 106 | Version 1.37.0 (2019-08-15)
|
2 | 107 | ==========================
|
3 | 108 |
|
|
0 commit comments