SHA256
1
0
forked from pool/rust

Accepting request 606817 from home:luc14n0:branches:devel:languages:rust

Update to version 1.26.0

OBS-URL: https://build.opensuse.org/request/show/606817
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=157
This commit is contained in:
2018-05-13 15:55:39 +00:00
committed by Git OBS Bridge
parent 012930143c
commit ee99c69dc3
20 changed files with 97 additions and 36 deletions

View File

@@ -1,3 +1,67 @@
-------------------------------------------------------------------
Sat May 12 00:31:05 UTC 2018 - luc14n0@linuxmail.org
- Update to version 1.26.0:
+ Language:
- Closures now implement `Copy` and/or `Clone` if all captured
variables implement either or both traits.
- The inclusive range syntax is now stable.
- Stablise `'_`. The underscore lifetime can be used anywhere
where a lifetime can be elided.
- `impl Trait` is now stable allowing you to have abstract
types in returns or in function parameters.
- Pattern matching will now automatically apply dereferences.
- 128-bit integers in the form of `u128` and `i128` are now
stable.
- `main` can now return `Result<(), E: Debug>` in addition to
`()`.
- A lot of operations are now available in a const context.
- Fixed entry slice patterns are now stable. e.g.
+ Compiler:
- LLD is now used as the default linker for `wasm32-unknown-\
unknown`.
- Fixed exponential projection complexity on nested types.
This can provide up to a ~12% reduction in compile times for
certain crates.
- Added the `--remap-path-prefix` option to rustc. Allowing you
to remap path prefixes outputted by the compiler.
+ Libraries:
- Implemented `From<u16> for usize & From<{u8, i16}> for
isize`.
- Added hexadecimal formatting for integers with fmt::Debug.
- Implemented `Default, Hash` for `cmp::Reverse`.
- Optimized `str::repeat` being 8x faster in large cases.
- `ascii::escape_default` is now available in libcore.
- Trailing commas are now supported in std and core macros.
- Implemented `Copy, Clone` for `cmp::Reverse`.
- Implemented `Clone` for `char::{ToLowercase, ToUppercase}`.
+ Stabilized APIs: *const T::add,
*const T::copy_to_nonoverlapping, *const T::copy_to,
*const T::read_unaligned, *const T::read_volatile,
*const T::read, *const T::sub, *const T::wrapping_add,
*const T::wrapping_sub, *mut T::add, *mut T::copy_to,
*mut T::copy_to_nonoverlapping, *mut T::read_unaligned,
*mut T::read_volatile, *mut T::read, mut T::replace,
*mut T::sub, *mut T::swap, *mut T::wrapping_add,
*mut T::wrapping_sub, *mut T::write_bytes,
*mut T::write_unaligned, *mut T::write_volatile,
*mut T::write, Box::leak, FromUtf8Error::as_bytes,
LocalKey::try_with, Option::cloned, iter::FusedIterator,
btree_map::Entry::and_modify, s::read_to_string, fs::read,
fs::write, hash_map::Entry::and_modify, String::retain,
ops::RangeInclusive, ops::RangeToInclusive, process::id,
slice::rotate_left, slice::rotate_right.
+ Compatibility Notes:
- Aliasing a `Fn` trait as `dyn` no longer works.
- The result of dereferences are no longer promoted to
`'static`.
- Deprecate `AsciiExt` trait in favor of inherent methods.
- `".e0"` will now no longer parse as `0.0` and will instead
cause an error.
- Removed hoedown from rustdoc.
- Bounds on higher-kinded lifetimes a hard error.
- Update cargo_version to 0.26.0.
-------------------------------------------------------------------
Thu May 3 08:05:33 UTC 2018 - mmanu84@outlook.de