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:
Neal Gompa 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 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eceee633b657f9371e851b71a387755840111d6f1105e6a9ba3093230b0b5b3d
size 4858889

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9768b3624ed31d970d0ff47c469315e3c43d0b23137742ec427593cd9589d84f
size 5826101

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ea742a05151e9d186ef6d5130676a0d8d1c2cfaadddeab554839dd4a6861bee
size 5674664

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a04935a6ac66225c0d1c9e3dfc4826e714973252dd24711c365e6dfe2cf62e73
size 6083273

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad081f57e13caa4b6be9ca828c4c6f74ad57fa303f68df5909c0d2ca5acd8f19
size 5615335

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:106ac17b7c1ed13758ea7934665e03976c5924ee996d54b95ac4cec160f4e84b
size 5538563

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f32967a9ef16c78c7d73726effede05da1840f1a0ea1a3ae225249f8719a79be
size 5035637

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07adc6d5a42760aa7ab6dd1eeae9c13688947710018a1aa13f49dca6eac5dd8b
size 6004007

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d354b4ad21b943f95c96f607af3857c402960a19a2a1ebac6f9f1a6877e4138
size 4421342

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f61e6570da4eb682a150aeca1e58c11a1bd0b0266806bd142ad16939adaea23a
size 5325966

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de3fe475b3bcd8b899b2dfcca77887cd27ff9d9477d6adcf447fee8e458938bb
size 5178189

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:200c24872796d19e14ecc1a71febc28e7c08b4cde35712e5154ec0d79350f81e
size 5524101

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:945014e2e55ebd293680081da6e0587df2300942138a574043c110e435c17091
size 5171872

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3f5743555a35e9d5e259cec1733857dea17eecda8b5fac69be4d0a8761ec560
size 5159492

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35326fa574e0f581e14d81995b1fe39154aba7a156cc8c968bc1803dc44c2ab6
size 4587628

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ba227f2364f618dc9415dacf3a5dce17458e1cb9f6d4fe860416cb68db894e4
size 5583405

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

View File

@ -17,8 +17,8 @@
#
%global prev_rust 1.24.1
%global cargo_version 0.25.0
%global prev_rust 1.25.0
%global cargo_version 0.26.0
%global rust_arch %{_arch}
%global abi gnu
%ifarch armv7hl
@ -45,12 +45,12 @@
%global rustlibdir %{common_libdir}/rustlib
%bcond_with rust_bootstrap
Name: rust
Version: 1.25.0
Version: 1.26.0
Release: 0
Summary: A systems programming language
License: MIT OR Apache-2.0
Group: Development/Languages/Other
Url: http://www.rust-lang.org
URL: https://www.rust-lang.org
Source0: %{dl_url}/rustc-%{version}-src.tar.gz
Source1: config.toml
Source99: %{name}-rpmlintrc
@ -76,8 +76,8 @@ BuildRequires: python3-base
Recommends: %{name}-doc
Recommends: %{name}-std
Recommends: cargo
Conflicts: rustc-bootstrap
Conflicts: rust
Conflicts: rustc-bootstrap
# Restrict the architectures as building rust relies on being initially
# bootstrapped before we can build the n+1 release
ExclusiveArch: x86_64 %{arm} aarch64 ppc64 ppc64le s390x %{ix86}
@ -228,7 +228,6 @@ find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -exec rm -v '{}' '+'
find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -name '*.so' -exec chmod -v +x '{}' '+'
# extract bundled licenses for packaging - From fedora spec
cp src/rt/hoedown/LICENSE src/rt/hoedown/LICENSE-hoedown
sed -e '/*\//q' src/libbacktrace/backtrace.h > src/libbacktrace/LICENSE-libbacktrace
# Remove the license files from _docdir: make install put duplicates there
@ -243,13 +242,11 @@ rm %{buildroot}%{_docdir}/%{name}/{README.md,COPYRIGHT,LICENSE-APACHE,LICENSE-MI
%if 0%{?suse_version} == 1315
%doc COPYRIGHT LICENSE-APACHE LICENSE-MIT
%doc src/libbacktrace/LICENSE-libbacktrace
%doc src/rt/hoedown/LICENSE-hoedown
%else
%license COPYRIGHT LICENSE-APACHE LICENSE-MIT
%license src/libbacktrace/LICENSE-libbacktrace
%license src/rt/hoedown/LICENSE-hoedown
%endif
%doc README.md
%doc CONTRIBUTING.md README.md RELEASES.md
%{_bindir}/rustc
%{_bindir}/rustdoc
%{_bindir}/rust-lldb

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eef63a0aeea5147930a366aee78cbde248bb6e5c6868801bdf34849152965d2d
size 98639156

3
rustc-1.26.0-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fb09bc4e233b71dcbe08a37a3f38cabc32219745ec6a628b18a55a1232281dd
size 95383826