Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-07-19 11:20:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust" Wed Jul 19 11:20:00 2017 rev:14 rq:503552 version:1.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust/rust.changes 2017-06-01 16:29:57.094667419 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-07-19 11:20:00.689110568 +0200 @@ -1,0 +2,80 @@ +Wed Jun 14 06:23:20 UTC 2017 - [email protected] + +- Change i586 build to produce i686 target instead of i586 so that + x86 Firefox can be built with Rust. + +------------------------------------------------------------------- +Thu Jun 8 21:48:54 UTC 2017 - [email protected] + +- Update to 1.18.0 +-Language updates: + + [Stabilize pub(restricted)][40556] `pub` can now accept amodule path to + make the item visible to just that module tree. Also accepts the keyword + `crate` to make something public to the whole crate but not users of the + library. Example: `pub(crate) mod utils;`. [RFC 1422]. + + [Stabilize `#![windows_subsystem]` attribute][40870] conservative exposure of the + `/SUBSYSTEM` linker flag on Windows platforms. [RFC 1665]. + + [Refactor of trait object type parsing][40043] Now `ty` in macros can accept + types like `Write + Send`, trailing `+` are now supported in trait objects, + and better error reporting for trait objects starting with `?Sized`. + + [0e+10 is now a valid floating point literal][40589] + + [Now warns if you bind a lifetime parameter to 'static][40734] + + [Tuples, Enum variant fields, and structs with no `repr` attribute or with + `#[repr(Rust)]` are reordered to minimize padding and produce a smaller + representation in some cases.][40377] +-Compiler updates + + [rustc can now emit mir with `--emit mir`][39891] + + [Improved LLVM IR for trivial functions][40367] + + [Added explanation for E0090(Wrong number of lifetimes are supplied)][40723] + + [rustc compilation is now 15%-20% faster][41469] Thanks to optimisation + opportunities found through profiling + + [Improved backtrace formatting when panicking][38165] +- Library updates: + + [Specialized `Vec::from_iter` being passed `vec::IntoIter`][40731] if the + iterator hasn't been advanced the original `Vec` is reassembled with no actual + iteration or reallocation. + + [Simplified HashMap Bucket interface][40561] provides performance + improvements for iterating and cloning. + + [Specialize Vec::from_elem to use calloc][40409] + + [Fixed Race condition in fs::create_dir_all][39799] + + [No longer caching stdio on Windows][40516] + + [Optimized insertion sort in slice][40807] insertion sort in some cases + 2.50%~ faster and in one case now 12.50% faster. + + [Optimized `AtomicBool::fetch_nand`][41143] +- Stabilized APIs: + + [`Child::try_wait`] + + [`HashMap::retain`] + + [`HashSet::retain`] + + [`PeekMut::pop`] + + [`TcpStream::peek`] + + [`UdpSocket::peek`] +- Misc: + + [rustdoc can now use pulldown-cmark with the `--enable-commonmark` flag][40338] + + [Added rust-winbg script for better debugging on Windows][39983] + + [Rust now uses the official cross compiler for NetBSD][40612] + + [rustdoc now accepts `#` at the start of files][40828] + + [Fixed jemalloc support for musl][41168] +- Compatibility Notes: + + [Changes to how the `0` flag works in format!][40241] Padding zeroes are now + always placed after the sign if it exists and before the digits. With the `#` + flag the zeroes are placed after the prefix and before the digits. + + [Due to the struct field optimisation][40377], using `transmute` on structs + that have no `repr` attribute or `#[repr(Rust)]` will no longer work. This has + always been undefined behavior, but is now more likely to break in practice. + + [The refactor of trait object type parsing][40043] fixed a bug where `+` was + receiving the wrong priority parsing things like `&for<'a> Tr<'a> + Send` as + `&(for<'a> Tr<'a> + Send)` instead of `(&for<'a> Tr<'a>) + Send` + + [Overlapping inherent `impl`s are now a hard error][40728] + + [`PartialOrd` and `Ord` must agree on the ordering.][41270] + + [`rustc main.rs -o out --emit=asm,llvm-ir`][41085] Now will output + `out.asm` and `out.ll` instead of only one of the filetypes. + + [ calling a function that returns `Self` will no longer work][41805] when + the size of `Self` cannot be statically determined. + + [rustc now builds with a "pthreads" flavour of MinGW for Windows GNU][40805] + this has caused a few regressions namely: + + Changed the link order of local static/dynamic libraries (respecting the + order on given rather than having the compiler reorder). + + Changed how MinGW is linked, native code linked to dynamic libraries + may require manually linking to the gcc support library (for the native + code itself) +------------------------------------------------------------------- Old: ---- rustc-1.17.0-src.tar.gz New: ---- rustc-1.18.0-src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust.spec ++++++ --- /var/tmp/diff_new_pack.bHeqos/_old 2017-07-19 11:20:07.020216236 +0200 +++ /var/tmp/diff_new_pack.bHeqos/_new 2017-07-19 11:20:07.020216236 +0200 @@ -17,7 +17,7 @@ # -%global prev_rust 1.16.0 +%global prev_rust 1.17.0 %global cargo_version 0.18.0 %global abi gnu %ifarch s390x @@ -40,13 +40,13 @@ %global _arch x86_64 %endif %ifarch %{ix86} -%global _arch i586 +%global _arch i686 %endif %global rust_triple %{_arch}-unknown-linux-%{abi} %global dl_url https://static.rust-lang.org/dist %bcond_with bootstrap Name: rust -Version: 1.17.0 +Version: 1.18.0 Release: 0 Summary: A systems programming language License: MIT or Apache-2.0 @@ -150,25 +150,25 @@ %prep %ifarch x86_64 -%setup -q -T -b 100 -n cargo-%{cargo_version}-%{_arch}-unknown-linux-%{abi} +%setup -q -T -b 100 -n cargo-%{cargo_version}-%{rust_triple} %endif %ifarch %ix86 %setup -q -T -b 101 -n cargo-%{cargo_version}-i686-unknown-linux-%{abi} %endif %ifarch aarch64 -%setup -q -T -b 102 -n cargo-%{cargo_version}-%{_arch}-unknown-linux-%{abi} +%setup -q -T -b 102 -n cargo-%{cargo_version}-%{rust_triple} %endif %ifarch armv7hl -%setup -q -T -b 103 -n cargo-%{cargo_version}-%{_arch}-unknown-linux-%{abi} +%setup -q -T -b 103 -n cargo-%{cargo_version}-%{rust_triple} %endif %ifarch ppc64 -%setup -q -T -b 104 -n cargo-%{cargo_version}-%{_arch}-unknown-linux-%{abi} +%setup -q -T -b 104 -n cargo-%{cargo_version}-%{rust_triple} %endif %ifarch ppc64le -%setup -q -T -b 105 -n cargo-%{cargo_version}-%{_arch}-unknown-linux-%{abi} +%setup -q -T -b 105 -n cargo-%{cargo_version}-%{rust_triple} %endif %ifarch s390x -%setup -q -T -b 106 -n cargo-%{cargo_version}-%{_arch}-unknown-linux-%{abi} +%setup -q -T -b 106 -n cargo-%{cargo_version}-%{rust_triple} %endif # The cargo binary is only used to build rust and is not shipped @@ -176,7 +176,7 @@ %ifarch %ix86 %global cargo_bin %{_builddir}/cargo-%{cargo_version}-i686-unknown-linux-%{abi}/cargo/bin/cargo %else -%global cargo_bin %{_builddir}/cargo-%{cargo_version}-%{_arch}-unknown-linux-%{abi}/cargo/bin/cargo +%global cargo_bin %{_builddir}/cargo-%{cargo_version}-%{rust_triple}/cargo/bin/cargo %endif %setup -q -n rustc-%{version}-src @@ -191,8 +191,8 @@ %build export CPPFLAGS="%{optflags}" # eliminate complain from RPMlint -./x.py build -v -./x.py doc -v +./x.py build --config config.toml +./x.py doc --config config.toml %install sed -e 's:<cargo-bin>:%{cargo_bin}:g' \ ++++++ config.toml ++++++ --- /var/tmp/diff_new_pack.bHeqos/_old 2017-07-19 11:20:07.100204936 +0200 +++ /var/tmp/diff_new_pack.bHeqos/_new 2017-07-19 11:20:07.100204936 +0200 @@ -34,12 +34,17 @@ vendor = true # -#full-bootstrap = false +# full-bootstrap = false # Enable a build of the and extended rust tool set which is not only the -# compiler but also tools such as Cargo. Requires cloning git repo of cargo +# compiler but also tools such as Cargo. This will also produce "combined +# installers" which are used to install Rust and Cargo together. This is +# disabled by default. extended = false +# Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose +verbose = 2 + # ============================================================================= # General install configuration options # ============================================================================= ++++++ rustc-1.17.0-src.tar.gz -> rustc-1.18.0-src.tar.gz ++++++ /work/SRC/openSUSE:Factory/rust/rustc-1.17.0-src.tar.gz /work/SRC/openSUSE:Factory/.rust.new/rustc-1.18.0-src.tar.gz differ: char 5, line 1
