Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-01-04 20:15:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust" Sat Jan 4 20:15:42 2020 rev:46 rq:760263 version:1.40.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust/rust.changes 2019-12-30 13:48:09.401300961 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new.6675/rust.changes 2020-01-04 20:17:41.110688597 +0100 @@ -1,0 +2,82 @@ +Mon Dec 30 03:48:37 UTC 2019 - Luke Jones <[email protected]> + +- Update to version 1.40.0 + + Language + - You can now use tuple `struct`s and tuple `enum` variant's constructors in + `const` contexts. e.g. + pub struct Point(i32, i32); + const ORIGIN: Point = { + let constructor = Point; + constructor(0, 0) + }; + - You can now mark `struct`s, `enum`s, and `enum` variants with the `#[non_exhaustive]` attribute to + indicate that there may be variants or fields added in the future. + For example this requires adding a wild-card branch (`_ => {}`) to any match + statements on a non-exhaustive `enum`. + - You can now use function-like procedural macros in `extern` blocks and in + type positions. e.g. `type Generated = macro!();` + - Function-like and attribute procedural macros can now emit + `macro_rules!` items, so you can now have your macros generate macros. + - The `meta` pattern matcher in `macro_rules!` now correctly matches the modern + attribute syntax. For example `(#[$m:meta])` now matches `#[attr]`, + `#[attr{tokens}]`, `#[attr[tokens]]`, and `#[attr(tokens)]`. + + Compiler + - Added tier 3 support\* for the + `thumbv7neon-unknown-linux-musleabihf` target. + - Added tier 3 support for the + `aarch64-unknown-none-softfloat` target. + - Added tier 3 support for the `mips64-unknown-linux-muslabi64`, and + `mips64el-unknown-linux-muslabi64` targets. + + Libraries + - The `is_power_of_two` method on unsigned numeric types is now a `const` function. + + Stabilized APIs + - BTreeMap::get_key_value + - HashMap::get_key_value + - Option::as_deref_mut + - Option::as_deref + - Option::flatten + - UdpSocket::peer_addr + - f32::to_be_bytes + - f32::to_le_bytes + - f32::to_ne_bytes + - f64::to_be_bytes + - f64::to_le_bytes + - f64::to_ne_bytes + - f32::from_be_bytes + - f32::from_le_bytes + - f32::from_ne_bytes + - f64::from_be_bytes + - f64::from_le_bytes + - f64::from_ne_bytes + - mem::take + - slice::repeat + - todo! + + Cargo + - Cargo will now always display warnings, rather than only on + fresh builds. + - Feature flags (except `--all-features`) passed to a virtual workspace will + now produce an error. Previously these flags were ignored. + - You can now publish `dev-dependencies` without including + a `version`. + + Misc + - You can now specify the `#[cfg(doctest)]` attribute to include an item only + when running documentation tests with `rustdoc`. + + + Compatibility Notes + - As previously announced, any previous NLL warnings in the 2015 edition are + now hard errors. + - The `include!` macro will now warn if it failed to include the + entire file. The `include!` macro unintentionally only includes the + first _expression_ in a file, and this can be unintuitive. This will become + either a hard error in a future release, or the behavior may be fixed to include all expressions as expected. + - Using `#[inline]` on function prototypes and consts now emits a warning under + `unused_attribute` lint. Using `#[inline]` anywhere else inside traits + or `extern` blocks now correctly emits a hard error. + +------------------------------------------------------------------- +Mon Dec 30 03:42:44 UTC 2019 - [email protected] + +- Rebased patches: + + hopefully-fix-rustdoc-build.patch dropped (merged upstream) + +------------------------------------------------------------------- Old: ---- hopefully-fix-rustdoc-build.patch rust-1.38.0-aarch64-unknown-linux-gnu.tar.xz rust-1.38.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.38.0-i686-unknown-linux-gnu.tar.xz rust-1.38.0-powerpc-unknown-linux-gnu.tar.xz rust-1.38.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.38.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.38.0-s390x-unknown-linux-gnu.tar.xz rust-1.38.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.39.0-src.tar.xz New: ---- rust-1.39.0-aarch64-unknown-linux-gnu.tar.xz rust-1.39.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.39.0-i686-unknown-linux-gnu.tar.xz rust-1.39.0-powerpc-unknown-linux-gnu.tar.xz rust-1.39.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.39.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.39.0-s390x-unknown-linux-gnu.tar.xz rust-1.39.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.40.0-src.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust.spec ++++++ --- /var/tmp/diff_new_pack.tAV7As/_old 2020-01-04 20:18:16.322706361 +0100 +++ /var/tmp/diff_new_pack.tAV7As/_new 2020-01-04 20:18:16.326706363 +0100 @@ -17,12 +17,12 @@ # -%global version_current 1.39.0 -%global version_previous 1.38.0 -%global version_bootstrap 1.38.0 +%global version_current 1.40.0 +%global version_previous 1.39.0 +%global version_bootstrap 1.39.0 # some sub-packages are versioned independently -%global rustfmt_version 1.4.8 +%global rustfmt_version 1.4.9 %global clippy_version 0.0.212 # Build the rust target triple. @@ -136,7 +136,6 @@ # PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag Patch0: ignore-Wstring-conversion.patch # PATCH-FIX-UPSTREAM: fix rustdoc compilation: https://github.com/rust-lang/rust/issues/66224 -Patch1: hopefully-fix-rustdoc-build.patch BuildRequires: ccache BuildRequires: curl BuildRequires: fdupes @@ -387,7 +386,6 @@ %setup -q -n rustc-%{version}-src %patch0 -p1 -%patch1 -p1 # use python3 sed -i -e "1s|#!.*|#!%{_bindir}/python3|" x.py @@ -400,11 +398,12 @@ rm -rf src/tools/lld rm -rf src/tools/lldb # CI tooling won't be used -rm -rf src/stdsimd/ci +rm -rf src/ci # Remove hidden files from source find src/ -type f -name '.appveyor.yml' -exec rm -v '{}' '+' find src/ -type f -name '.travis.yml' -exec rm -v '{}' '+' +find src/ -type f -name '.cirrus.yml' -exec rm -v '{}' '+' %if !%with bundled_llvm rm -rf src/llvm/ ++++++ _service ++++++ --- /var/tmp/diff_new_pack.tAV7As/_old 2020-01-04 20:18:16.370706384 +0100 +++ /var/tmp/diff_new_pack.tAV7As/_new 2020-01-04 20:18:16.370706384 +0100 @@ -1,8 +1,8 @@ <services> - <service mode="disabled" name="download_files"> + <service name="download_files" mode="disabled"> <param name="changesgenerate">enable</param> </service> - <service mode="disabled" name="refresh_patches"> + <service name="refresh_patches" mode="disabled"> <param name="changesgenerate">enable</param> <param name="ignorefuzz">enable</param> </service> ++++++ rust-1.38.0-aarch64-unknown-linux-gnu.tar.xz -> rust-1.39.0-aarch64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.38.0-aarch64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rust-1.39.0-aarch64-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++++++ rust-1.38.0-armv7-unknown-linux-gnueabihf.tar.xz -> rust-1.39.0-armv7-unknown-linux-gnueabihf.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.38.0-armv7-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rust-1.39.0-armv7-unknown-linux-gnueabihf.tar.xz differ: char 15, line 1 ++++++ rust-1.38.0-i686-unknown-linux-gnu.tar.xz -> rust-1.39.0-i686-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.38.0-i686-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rust-1.39.0-i686-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++++++ rust-1.38.0-powerpc-unknown-linux-gnu.tar.xz -> rust-1.39.0-powerpc-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.38.0-powerpc-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rust-1.39.0-powerpc-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++++++ rust-1.38.0-powerpc-unknown-linux-gnu.tar.xz -> rust-1.39.0-powerpc64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.38.0-powerpc-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rust-1.39.0-powerpc64-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++++++ rust-1.38.0-powerpc64le-unknown-linux-gnu.tar.xz -> rust-1.39.0-powerpc64le-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.38.0-powerpc64le-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rust-1.39.0-powerpc64le-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++++++ rust-1.38.0-s390x-unknown-linux-gnu.tar.xz -> rust-1.39.0-s390x-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.38.0-s390x-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rust-1.39.0-s390x-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++++++ rust-1.38.0-x86_64-unknown-linux-gnu.tar.xz -> rust-1.39.0-x86_64-unknown-linux-gnu.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rust-1.38.0-x86_64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rust-1.39.0-x86_64-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++++++ rust-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.tAV7As/_old 2020-01-04 20:18:16.478706439 +0100 +++ /var/tmp/diff_new_pack.tAV7As/_new 2020-01-04 20:18:16.482706441 +0100 @@ -1,16 +1,23 @@ # filters for rust-src addFilter("devel-dependency rust-std-static") addFilter("devel-file-in-non-devel-package.*/usr/lib/rustlib/src/.*") -# filters for rust-std + # rlib not in elf format addFilter("binaryinfo-readelf-failed.*/usr/lib/rustlib/.*rlib") + # rust has no stable ABI as of yet, soname is of no use yet addFilter("no-soname.*/usr/lib/rustlib/.*") addFilter("no-soname.*/usr/lib/lib*") + # tool versions don't always change at same pace as rustc addFilter("clippy.x86_64: W: no-version-in-last-changelog") addFilter("rls.x86_64: W: no-version-in-last-changelog") addFilter("rust-analysis.x86_64: W: no-version-in-last-changelog") addFilter("rustfmt.x86_64: W: no-version-in-last-changelog") + +# we use a "provides =" with version to set the version correctly +addFilter("clippy.x86_64: W: useless-provides clippy") +addFilter("rustfmt.x86_64: W: useless-provides rustfmt") + # error when building with bootstrap. ignore for now addFilter(".*shlib-policy-name-error.*libLLVM-8.*") ++++++ rustc-1.39.0-src.tar.xz -> rustc-1.40.0-src.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust/rustc-1.39.0-src.tar.xz /work/SRC/openSUSE:Factory/.rust.new.6675/rustc-1.40.0-src.tar.xz differ: char 15, line 1
