Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-12-14 20:49:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust" Fri Dec 14 20:49:28 2018 rev:32 rq:657400 version:1.31.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust/rust.changes 2018-11-18 23:23:01.470147753 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new.28833/rust.changes 2018-12-14 20:53:46.240995850 +0100 @@ -1,0 +2,41 @@ +Thu Dec 6 22:31:16 UTC 2018 - Luke Jones <[email protected]> + +- Update to version 1.31.0 + + Language + - This version marks the release of the 2018 edition of Rust. + - New lifetime elision rules now allow for eliding lifetimes in functions and + impl headers. E.g. `impl<'a> Reader for BufReader<'a> {}` can now be + `impl Reader for BufReader<'_> {}`. Lifetimes are still required to be defined + in structs. + - You can now define and use `const` functions. These are currently + a strict minimal subset of the const fn RFC. Refer to the + [language reference][const-reference] for what exactly is available. + - You can now use tool lints, which allow you to scope lints from external + tools using attributes. E.g. `#[allow(clippy::filter_map)]`. + - `#[no_mangle]` and `#[export_name]` attributes can now be located anywhere in + a crate, not just in exported functions. + - You can now use parentheses in pattern matches. + + Compiler + - Updated musl to 1.1.20 + + Libraries + - You can now convert `num::NonZero*` types to their raw equivalvents using the + `From` trait. E.g. `u8` now implements `From<NonZeroU8>`. + - You can now convert a `&Option<T>` into `Option<&T>` and `&mut Option<T>` + into `Option<&mut T>` using the `From` trait. + - You can now multiply (`*`) a `time::Duration` by a `u32`. + + Stabilized APIs + - `slice::align_to` + - `slice::align_to_mut` + - `slice::chunks_exact` + - `slice::chunks_exact_mut` + - `slice::rchunks` + - `slice::rchunks_mut` + - `slice::rchunks_exact` + - `slice::rchunks_exact_mut` + - `Option::replace` + + Cargo + - Cargo will now download crates in parallel using HTTP/2. + - You can now rename packages in your Cargo.toml We have a guide + on how to use the `package` key in your dependencies. + +------------------------------------------------------------------- Old: ---- rust-1.29.2-aarch64-unknown-linux-gnu.tar.xz rust-1.29.2-arm-unknown-linux-gnueabihf.tar.xz rust-1.29.2-armv7-unknown-linux-gnueabihf.tar.xz rust-1.29.2-i686-unknown-linux-gnu.tar.xz rust-1.29.2-powerpc64-unknown-linux-gnu.tar.xz rust-1.29.2-powerpc64le-unknown-linux-gnu.tar.xz rust-1.29.2-s390x-unknown-linux-gnu.tar.xz rust-1.29.2-x86_64-unknown-linux-gnu.tar.xz rustc-1.30.0-src.tar.xz New: ---- rust-1.30.0-aarch64-unknown-linux-gnu.tar.xz rust-1.30.0-arm-unknown-linux-gnueabihf.tar.xz rust-1.30.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.30.0-i686-unknown-linux-gnu.tar.xz rust-1.30.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.30.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.30.0-s390x-unknown-linux-gnu.tar.xz rust-1.30.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.31.0-src.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust.spec ++++++ --- /var/tmp/diff_new_pack.UGVQVS/_old 2018-12-14 20:54:12.676963049 +0100 +++ /var/tmp/diff_new_pack.UGVQVS/_new 2018-12-14 20:54:12.680963044 +0100 @@ -17,10 +17,10 @@ # -%global prev_rust 1.29.2 +%global prev_rust 1.30.0 # some sub-packages are versioned independantly -%global rustfmt_version 0.99.4 -%global rls_version 0.130.5 +%global rustfmt_version 1.0.0 +%global rls_version 1.31.6 %global clippy_version 0.0.212 # Build the rust target triple. # Some rust arches don't match what SUSE labels them. @@ -56,7 +56,7 @@ # v-1 will build v # %bcond_with rust_bootstrap # Temporarily set the bootstrap flag in the spec so rings will build without intervention -%bcond_without rust_bootstrap +%bcond_with rust_bootstrap # Distro LLVM should be sufficient, this also cuts compile times byu almost half %if 0%{?suse_version} <= 1315 %bcond_without bundled_llvm @@ -64,7 +64,7 @@ %bcond_with bundled_llvm %endif Name: rust -Version: 1.30.0 +Version: 1.31.0 Release: 0 Summary: A systems programming language License: MIT OR Apache-2.0 @@ -301,8 +301,8 @@ %ifarch s390x %setup -q -T -b 107 -n rust-%{prev_rust}-%{rust_triple} %endif -%endif ./install.sh --components=cargo,rustc,rust-std-%{rust_triple} --prefix=.%{_prefix} --disable-ldconfig +%endif %if %{with rust_bootstrap} %global rust_root %{_builddir}/rust-%{prev_rust}-%{rust_triple}%{_prefix} @@ -519,9 +519,9 @@ %files -n clippy %if 0%{?suse_version} == 1315 -%doc src/tools/clippy/LICENSE +%doc src/tools/clippy/LICENSE-{APACHE,MIT} %else -%license src/tools/clippy/LICENSE +%license src/tools/clippy/LICENSE-{APACHE,MIT} %endif %doc src/tools/clippy/{README.md,CHANGELOG.md} %{_bindir}/cargo-clippy ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.UGVQVS/_old 2018-12-14 20:54:12.708963009 +0100 +++ /var/tmp/diff_new_pack.UGVQVS/_new 2018-12-14 20:54:12.708963009 +0100 @@ -17,9 +17,6 @@ </conditions> <hardware> <processors>2</processors> - <physicalmemory> - <size unit="G">4</size> - </physicalmemory> <disk> <size unit="G">15</size> </disk> ++++++ rust-1.29.2-aarch64-unknown-linux-gnu.tar.xz -> rust-1.30.0-aarch64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.29.2-aarch64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.0-aarch64-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rust-1.29.2-arm-unknown-linux-gnueabihf.tar.xz -> rust-1.30.0-arm-unknown-linux-gnueabihf.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.29.2-arm-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.0-arm-unknown-linux-gnueabihf.tar.xz differ: char 26, line 1 ++++++ rust-1.29.2-armv7-unknown-linux-gnueabihf.tar.xz -> rust-1.30.0-armv7-unknown-linux-gnueabihf.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.29.2-armv7-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.0-armv7-unknown-linux-gnueabihf.tar.xz differ: char 26, line 1 ++++++ rust-1.29.2-i686-unknown-linux-gnu.tar.xz -> rust-1.30.0-i686-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.29.2-i686-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.0-i686-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rust-1.29.2-powerpc64-unknown-linux-gnu.tar.xz -> rust-1.30.0-powerpc64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.29.2-powerpc64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.0-powerpc64-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rust-1.29.2-powerpc64le-unknown-linux-gnu.tar.xz -> rust-1.30.0-powerpc64le-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.29.2-powerpc64le-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.0-powerpc64le-unknown-linux-gnu.tar.xz differ: char 27, line 1 ++++++ rust-1.29.2-s390x-unknown-linux-gnu.tar.xz -> rust-1.30.0-s390x-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.29.2-s390x-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.0-s390x-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rust-1.29.2-x86_64-unknown-linux-gnu.tar.xz -> rust-1.30.0-x86_64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.29.2-x86_64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.0-x86_64-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++++++ rustc-1.30.0-src.tar.xz -> rustc-1.31.0-src.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rustc-1.30.0-src.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rustc-1.31.0-src.tar.xz differ: char 27, line 1
