commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-10-14 15:34:40 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.3486 (New) Package is "rust" Wed Oct 14 15:34:40 2020 rev:57 rq:840910 version:1.46.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-09-18 14:24:03.555028043 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.3486/rust.changes 2020-10-14 15:36:34.874307700 +0200 @@ -1,0 +2,46 @@ +Sat Oct 10 00:26:02 UTC 2020 - William Brown + +- Update to version 1.46.0 + + Language + - [`if`, `match`, and `loop` expressions can now be used in const functions.][72437] + - [Additionally you are now also able to coerce and cast to slices (`&[T]`) in +const functions.][73862] + - [The `#[track_caller]` attribute can now be added to functions to use the +function's caller's location information for panic messages.][72445] + - [Recursively indexing into tuples no longer needs parentheses.][71322] E.g. +`x.0.0` over `(x.0).0`. + - [`mem::transmute` can now be used in statics and constants.][72920] **Note** +You currently can't use `mem::transmute` in constant functions. + + Compiler + - [You can now use the `cdylib` target on Apple iOS and tvOS platforms.][73516] + - [Enabled static "Position Independent Executables" by default +for `x86_64-unknown-linux-musl`.][70740] + + Libraries + - [`mem::forget` is now a `const fn`.][73887] + - [`String` now implements `From`.][73466] + - [The `leading_ones`, and `trailing_ones` methods have been stabilised for all +integer types.][73032] + - [`vec::IntoIter` now implements `AsRef<[T]>`.][72583] + - [All non-zero integer types (`NonZeroU8`) now implement `TryFrom` for their +zero-able equivalent (e.g. `TryFrom`).][72717] + - [`&[T]` and ` [T]` now implement `PartialEq>`.][71660] + - [`(String, u16)` now implements `ToSocketAddrs`.][73007] + - [`vec::Drain<'_, T>` now implements `AsRef<[T]>`.][72584] + + Stabilized APIs + - [`Option::zip`] + - [`vec::Drain::as_slice`] + + Cargo +Added a number of new environment variables that are now available when +compiling your crate. + - [`CARGO_BIN_NAME` and `CARGO_CRATE_NAME`][cargo/8270] Providing the name of +the specific binary being compiled and the name of the crate. + - [`CARGO_PKG_LICENSE`][cargo/8325] The license from the manifest of the package. + - [`CARGO_PKG_LICENSE_FILE`][cargo/8387] The path to the license file. + +--- +Thu Oct 08 22:33:12 UTC 2020 - opensuse-packag...@opensuse.org + +- Rebased patches: + + ignore-Wstring-conversion.patch (offset / fuzz) + +--- Old: rust-1.44.1-aarch64-unknown-linux-gnu.tar.xz rust-1.44.1-armv7-unknown-linux-gnueabihf.tar.xz rust-1.44.1-i686-unknown-linux-gnu.tar.xz rust-1.44.1-powerpc-unknown-linux-gnu.tar.xz rust-1.44.1-powerpc64-unknown-linux-gnu.tar.xz rust-1.44.1-powerpc64le-unknown-linux-gnu.tar.xz rust-1.44.1-s390x-unknown-linux-gnu.tar.xz rust-1.44.1-x86_64-unknown-linux-gnu.tar.xz rustc-1.45.2-src.tar.xz New: rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz rust-1.45.2-armv7-unknown-linux-gnueabihf.tar.xz rust-1.45.2-i686-unknown-linux-gnu.tar.xz rust-1.45.2-powerpc-unknown-linux-gnu.tar.xz rust-1.45.2-powerpc64-unknown-linux-gnu.tar.xz rust-1.45.2-powerpc64le-unknown-linux-gnu.tar.xz rust-1.45.2-s390x-unknown-linux-gnu.tar.xz rust-1.45.2-x86_64-unknown-linux-gnu.tar.xz rustc-1.46.0-src.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.tZBDDe/_old 2020-10-14 15:36:43.458310698 +0200 +++ /var/tmp/diff_new_pack.tZBDDe/_new 2020-10-14 15:36:43.458310698 +0200 @@ -17,12 +17,12 @@ # -%global version_current 1.45.2 -%global version_previous 1.44.1 -%global version_bootstrap 1.44.1 +%global version_current 1.46.0 +%global version_previous 1.45.2 +%global version_bootstrap 1.45.2 # some sub-packages are versioned independently -%global rustfmt_version 1.4.16 +%global rustfmt_version 1.4.21 %global clippy_version 0.0.212 # Build the rust target triple. @@ -576,10 +576,12 @@ %{_bindir}/rust-gdbgui %dir %{rustlibdir} %dir %{rustlibdir}%{_sysconfdir} -%{rustlibdir}%{_sysconfdir}/debugger_pretty_printers_common.py %{rustlibdir}%{_sysconfdir}/gdb_load_rust_pretty_printers.py -%{rustlibdir}%{_sysconfdir}/gdb_rust_pretty_printing.py -%{rustlibdir}%{_sysconfdir}/lldb_rust_formatters.py +%{rustlibdir}%{_sysconfdir}/gdb_lookup.py +%{rustlibdir}%{_sysconfdir}/gdb_providers.py +%{rustlibdir}%{_sysconfdir}/lldb_lookup.py
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-09-18 14:22:07 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.4249 (New) Package is "rust" Fri Sep 18 14:22:07 2020 rev:56 rq:833346 version:1.45.2 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-08-20 22:26:51.719926128 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.4249/rust.changes 2020-09-18 14:24:03.555028043 +0200 @@ -1,0 +2,5 @@ +Thu Sep 3 03:09:46 UTC 2020 - William Brown + +- Update to version 1.45.2 + +--- Old: rust-1.43.1-aarch64-unknown-linux-gnu.tar.xz rust-1.43.1-armv7-unknown-linux-gnueabihf.tar.xz rust-1.43.1-i686-unknown-linux-gnu.tar.xz rust-1.43.1-powerpc-unknown-linux-gnu.tar.xz rust-1.43.1-powerpc64-unknown-linux-gnu.tar.xz rust-1.43.1-powerpc64le-unknown-linux-gnu.tar.xz rust-1.43.1-s390x-unknown-linux-gnu.tar.xz rust-1.43.1-x86_64-unknown-linux-gnu.tar.xz rustc-1.44.1-src.tar.xz New: rust-1.44.1-aarch64-unknown-linux-gnu.tar.xz rust-1.44.1-armv7-unknown-linux-gnueabihf.tar.xz rust-1.44.1-i686-unknown-linux-gnu.tar.xz rust-1.44.1-powerpc-unknown-linux-gnu.tar.xz rust-1.44.1-powerpc64-unknown-linux-gnu.tar.xz rust-1.44.1-powerpc64le-unknown-linux-gnu.tar.xz rust-1.44.1-s390x-unknown-linux-gnu.tar.xz rust-1.44.1-x86_64-unknown-linux-gnu.tar.xz rustc-1.45.2-src.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.e47BhD/_old 2020-09-18 14:24:21.043045656 +0200 +++ /var/tmp/diff_new_pack.e47BhD/_new 2020-09-18 14:24:21.047045660 +0200 @@ -17,9 +17,9 @@ # -%global version_current 1.44.1 -%global version_previous 1.43.1 -%global version_bootstrap 1.43.1 +%global version_current 1.45.2 +%global version_previous 1.44.1 +%global version_bootstrap 1.44.1 # some sub-packages are versioned independently %global rustfmt_version 1.4.16 @@ -317,9 +317,9 @@ %package -n clippy Summary:Lints to catch common mistakes and improve Rust code +# /usr/bin/clippy-driver is dynamically linked against internal rustc libs License:MPL-2.0 Group: Development/Languages/Rust -# /usr/bin/clippy-driver is dynamically linked against internal rustc libs Requires: %{name} = %{version} Requires: cargo = %{version} Provides: clippy = %{clippy_version} @@ -343,10 +343,10 @@ %package -n cargo-doc Summary:Documentation for Cargo -License:MIT OR Apache-2.0 -Group: Development/Languages/Rust # Cargo no longer builds its own documentation # https://github.com/rust-lang/cargo/pull/4904 +License:MIT OR Apache-2.0 +Group: Development/Languages/Rust Requires: rust-doc = %{version} BuildArch: noarch ++ rust-1.43.1-aarch64-unknown-linux-gnu.tar.xz -> rust-1.44.1-aarch64-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.43.1-aarch64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4249/rust-1.44.1-aarch64-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.43.1-armv7-unknown-linux-gnueabihf.tar.xz -> rust-1.44.1-armv7-unknown-linux-gnueabihf.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.43.1-armv7-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4249/rust-1.44.1-armv7-unknown-linux-gnueabihf.tar.xz differ: char 15, line 1 ++ rust-1.43.1-i686-unknown-linux-gnu.tar.xz -> rust-1.44.1-i686-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.43.1-i686-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4249/rust-1.44.1-i686-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.43.1-powerpc-unknown-linux-gnu.tar.xz -> rust-1.44.1-powerpc-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.43.1-powerpc-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4249/rust-1.44.1-powerpc-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.43.1-powerpc-unknown-linux-gnu.tar.xz -> rust-1.44.1-powerpc64-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.43.1-powerpc-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4249/rust-1.44.1-powerpc64-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.43.1-powerpc64le-unknown-linux-gnu.tar.xz -> rust-1.44.1-powerpc64le-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.43.1-powerpc64le-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.4249/rust-1.44.1-powerpc64le-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.43.1-s390x-unknown-linux-gnu.tar.xz ->
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-08-20 22:25:02 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.3399 (New) Package is "rust" Thu Aug 20 22:25:02 2020 rev:55 rq:827353 version:1.44.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-08-16 20:27:29.882105517 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.3399/rust.changes 2020-08-20 22:26:51.719926128 +0200 @@ -1,0 +2,7 @@ +Fri Aug 14 12:00:58 UTC 2020 - Martin Sirringhaus + +- Set codeunits=1 for all archs to avoid OOM-kills and produce + the fastest possible compiler-binaries (at the cost of + build-times for this package) + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.Hwz5Df/_old 2020-08-20 22:26:59.271929660 +0200 +++ /var/tmp/diff_new_pack.Hwz5Df/_new 2020-08-20 22:26:59.279929664 +0200 @@ -86,12 +86,15 @@ %bcond_without rls %endif +# Do not use parallel codegen in order to +# a) not exhaust memory on build-machines and +# b) generate the fastest possible binary +# at the cost of longer build times for this package +%define codegen_units --set rust.codegen-units=1 # Debuginfo can exhaust memory on these architecture workers %ifarch %{arm} %{ix86} -%define codegen_units --set rust.codegen-units=2 %define debug_info --disable-debuginfo --disable-debuginfo-only-std --disable-debuginfo-tools --disable-debuginfo-lines %else -%define codegen_units --set rust.codegen-units=0 %define debug_info --enable-debuginfo --disable-debuginfo-only-std --enable-debuginfo-tools --disable-debuginfo-lines %endif
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-08-16 20:26:33 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.3399 (New) Package is "rust" Sun Aug 16 20:26:33 2020 rev:54 rq:826667 version:1.44.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-08-12 10:24:55.619805003 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.3399/rust.changes 2020-08-16 20:27:29.882105517 +0200 @@ -1,0 +2,10 @@ +Thu Aug 13 13:38:23 UTC 2020 - Andreas Schwab + +- Pacify source validator + +--- +Thu Aug 13 10:04:38 UTC 2020 - Andreas Schwab + +- Add support for riscv64 + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.avER3f/_old 2020-08-16 20:27:34.418108025 +0200 +++ /var/tmp/diff_new_pack.avER3f/_new 2020-08-16 20:27:34.422108028 +0200 @@ -52,6 +52,10 @@ %global rust_arch powerpc64le %endif +%ifarch riscv64 +%global rust_arch riscv64gc +%endif + # Must restrict the x86 build to i686 since i586 is currently # unsupported %ifarch %{ix86} @@ -131,11 +135,12 @@ Source106: %{dl_url}/rust-%{version_bootstrap}-powerpc64le-unknown-linux-gnu.tar.xz Source107: %{dl_url}/rust-%{version_bootstrap}-s390x-unknown-linux-gnu.tar.xz Source108: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz +# Not yet available +#Source109: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.tar.xz # Make factory-auto stop complaining... Source1000: README.suse-maint # PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag Patch0: ignore-Wstring-conversion.patch -# PATCH-FIX-UPSTREAM: fix compilation with llvm10 https://github.com/rust-lang/rust/issues/71573 BuildRequires: ccache BuildRequires: curl BuildRequires: fdupes @@ -191,7 +196,7 @@ 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 ppc ppc64 ppc64le s390x %{ix86} +ExclusiveArch: x86_64 %{arm} aarch64 ppc ppc64 ppc64le s390x %{ix86} riscv64 %ifarch %{ix86} ExclusiveArch: i686 %endif @@ -309,9 +314,9 @@ %package -n clippy Summary:Lints to catch common mistakes and improve Rust code -# /usr/bin/clippy-driver is dynamically linked against internal rustc libs License:MPL-2.0 Group: Development/Languages/Rust +# /usr/bin/clippy-driver is dynamically linked against internal rustc libs Requires: %{name} = %{version} Requires: cargo = %{version} Provides: clippy = %{clippy_version} @@ -335,10 +340,10 @@ %package -n cargo-doc Summary:Documentation for Cargo -# Cargo no longer builds its own documentation -# https://github.com/rust-lang/cargo/pull/4904 License:MIT OR Apache-2.0 Group: Development/Languages/Rust +# Cargo no longer builds its own documentation +# https://github.com/rust-lang/cargo/pull/4904 Requires: rust-doc = %{version} BuildArch: noarch @@ -351,7 +356,7 @@ %setup -q -T -b 100 -n rust-%{version_bootstrap}-%{rust_triple} %endif %ifarch %{ix86} -%setup -q -T -b 101 -n rust-%{version_bootstrap}-i686-unknown-linux-%{abi} +%setup -q -T -b 101 -n rust-%{version_bootstrap}-%{rust_triple} %endif %ifarch aarch64 %setup -q -T -b 102 -n rust-%{version_bootstrap}-%{rust_triple} @@ -374,6 +379,10 @@ %ifarch ppc %setup -q -T -b 108 -n rust-%{version_bootstrap}-%{rust_triple} %endif +%ifarch riscv64 +# Not yet available +#%%setup -q -T -b 109 -n rust-%{version_bootstrap}-%{rust_triple} +%endif ./install.sh --components=cargo,rustc,rust-std-%{rust_triple} --prefix=.%{_prefix} --disable-ldconfig %endif
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-08-12 10:21:21 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.3399 (New) Package is "rust" Wed Aug 12 10:21:21 2020 rev:53 rq:825388 version:1.44.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-06-23 21:01:42.705285431 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.3399/rust.changes 2020-08-12 10:24:55.619805003 +0200 @@ -1,0 +2,80 @@ +Fri Aug 7 05:54:43 UTC 2020 - Manfred Hollstein + +- Minimum version needed for LLVM is >= 8.0 + +--- +Thu Aug 6 08:26:41 UTC 2020 - Michał Rostecki + +- Update to version 1.44.1 + * rustfmt accepts rustfmt_skip in cfg_attr again. + * Don't hash executable filenames on apple platforms, fixing backtraces. + * Fix crashes when finding backtrace on macOS. + * Clippy applies lint levels into different files. +- Update to version 1.44.0 + + Language +- You can now use `async/.await` with `#[no_std]` enabled. +- Added the `unused_braces` lint. +- Expansion-driven outline module parsing + + Compiler +- Rustc now respects the `-C codegen-units` flag in incremental mode. + Additionally when in incremental mode rustc defaults to 256 codegen units. +- Refactored `catch_unwind` to have zero-cost, unless unwinding is enabled and + a panic is thrown. +- Added tier 3\* support for the `aarch64-unknown-none` and + `aarch64-unknown-none-softfloat` targets. +- Added tier 3 support for `arm64-apple-tvos` and + `x86_64-apple-tvos` targets. + + Libraries +- Special cased `vec![]` to map directly to `Vec::new()`. This allows + `vec![]` to be able to be used in `const` contexts. +- `convert::Infallible` now implements `Hash`. +- `OsString` now implements `DerefMut` and `IndexMut` returning + a ` OsStr`. +- Unicode 13 is now supported. +- `String` now implements `From< str>`. +- `IoSlice` now implements `Copy`. +- `Vec` now implements `From<[T; N]>`. Where `N` is at most 32. +- `proc_macro::LexError` now implements `fmt::Display` and `Error`. +- `from_le_bytes`, `to_le_bytes`, `from_be_bytes`, `to_be_bytes`, + `from_ne_bytes`, and `to_ne_bytes` methods are now `const` for all + integer types. + + Stabilizd APIs +- [`PathBuf::with_capacity`] +- [`PathBuf::capacity`] +- [`PathBuf::clear`] +- [`PathBuf::reserve`] +- [`PathBuf::reserve_exact`] +- [`PathBuf::shrink_to_fit`] +- [`f32::to_int_unchecked`] +- [`f64::to_int_unchecked`] +- [`Layout::align_to`] +- [`Layout::pad_to_align`] +- [`Layout::array`] +- [`Layout::extend`] + + Cargo +- Added the `cargo tree` command which will print a tree graph of + your dependencies + + Misc +- Rustdoc now allows you to specify `--crate-version` to have rustdoc include + the version in the sidebar. + + Compatibility Notes +- Rustc now correctly generates static libraries on Windows GNU targets with + the `.a` extension, rather than the previous `.lib`. +- Removed the `-C no_integrated_as` flag from rustc. +- The `file_name` property in JSON output of macro errors now points the actual + source file rather than the previous format of ``. + **Note:** this may not point to a file that actually exists on the user's system. +- The minimum required external LLVM version has been bumped to LLVM 8. +- `mem::{zeroed, uninitialised}` will now panic when used with types that do + not allow zero initialization such as `NonZeroU8`. This was + previously a warning. +- In 1.45.0 (the next release) converting a `f64` to `u32` using the `as` + operator has been defined as a saturating operation. This was previously + undefined behaviour, but you can use the `{f64, f32}::to_int_unchecked` methods to + continue using the current behaviour, which may be desirable in rare performance + sensitive situations. +- Rebased patches: + + ignore-Wstring-conversion.patch (offset / fuzz) + + rust-pr70163-prepare-for-llvm-10-upgrade.patch dropped (merged upstream) + +--- Old: rust-1.43.0-aarch64-unknown-linux-gnu.tar.xz rust-1.43.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.43.0-i686-unknown-linux-gnu.tar.xz rust-1.43.0-powerpc-unknown-linux-gnu.tar.xz rust-1.43.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.43.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.43.0-s390x-unknown-linux-gnu.tar.xz rust-1.43.0-x86_64-unknown-linux-gnu.tar.xz rust-pr70163-prepare-for-llvm-10-upgrade.patch rustc-1.43.1-src.tar.xz New:
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-06-23 21:00:11 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.2956 (New) Package is "rust" Tue Jun 23 21:00:11 2020 rev:52 rq:816374 version:1.43.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-05-07 17:50:24.953259003 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.2956/rust.changes 2020-06-23 21:01:42.705285431 +0200 @@ -1,0 +2,9 @@ +Wed May 20 12:23:40 UTC 2020 - Martin Sirringhaus + +- Update to version 1.43.1 + - Updated openssl-src to 1.1.1g for CVE-2020-1967. + - Fixed the stabilization of AVX-512 features. + - Fixed `cargo package --list` not working with unpublished +dependencies. + +--- Old: rust-1.42.0-aarch64-unknown-linux-gnu.tar.xz rust-1.42.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.42.0-i686-unknown-linux-gnu.tar.xz rust-1.42.0-powerpc-unknown-linux-gnu.tar.xz rust-1.42.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.42.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.42.0-s390x-unknown-linux-gnu.tar.xz rust-1.42.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.43.0-src.tar.xz New: rust-1.43.0-aarch64-unknown-linux-gnu.tar.xz rust-1.43.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.43.0-i686-unknown-linux-gnu.tar.xz rust-1.43.0-powerpc-unknown-linux-gnu.tar.xz rust-1.43.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.43.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.43.0-s390x-unknown-linux-gnu.tar.xz rust-1.43.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.43.1-src.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.zw2MGx/_old 2020-06-23 21:01:49.505307310 +0200 +++ /var/tmp/diff_new_pack.zw2MGx/_new 2020-06-23 21:01:49.509307323 +0200 @@ -17,9 +17,9 @@ # -%global version_current 1.43.0 -%global version_previous 1.42.0 -%global version_bootstrap 1.42.0 +%global version_current 1.43.1 +%global version_previous 1.43.0 +%global version_bootstrap 1.43.0 # some sub-packages are versioned independently %global rustfmt_version 1.4.12 ++ rust-1.42.0-aarch64-unknown-linux-gnu.tar.xz -> rust-1.43.0-aarch64-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.42.0-aarch64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.2956/rust-1.43.0-aarch64-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.42.0-armv7-unknown-linux-gnueabihf.tar.xz -> rust-1.43.0-armv7-unknown-linux-gnueabihf.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.42.0-armv7-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.2956/rust-1.43.0-armv7-unknown-linux-gnueabihf.tar.xz differ: char 15, line 1 ++ rust-1.42.0-i686-unknown-linux-gnu.tar.xz -> rust-1.43.0-i686-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.42.0-i686-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.2956/rust-1.43.0-i686-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.42.0-powerpc-unknown-linux-gnu.tar.xz -> rust-1.43.0-powerpc-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.42.0-powerpc-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.2956/rust-1.43.0-powerpc-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.42.0-powerpc-unknown-linux-gnu.tar.xz -> rust-1.43.0-powerpc64-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.42.0-powerpc-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.2956/rust-1.43.0-powerpc64-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.42.0-powerpc64le-unknown-linux-gnu.tar.xz -> rust-1.43.0-powerpc64le-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.42.0-powerpc64le-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.2956/rust-1.43.0-powerpc64le-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.42.0-s390x-unknown-linux-gnu.tar.xz -> rust-1.43.0-s390x-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.42.0-s390x-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.2956/rust-1.43.0-s390x-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rust-1.42.0-x86_64-unknown-linux-gnu.tar.xz -> rust-1.43.0-x86_64-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.42.0-x86_64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.2956/rust-1.43.0-x86_64-unknown-linux-gnu.tar.xz differ: char 15, line 1 ++ rustc-1.43.0-src.tar.xz -> rustc-1.43.1-src.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rustc-1.43.0-src.tar.xz
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-05-07 17:49:57 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.2738 (New) Package is "rust" Thu May 7 17:49:57 2020 rev:51 rq:800121 version:1.43.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-04-07 10:25:18.898095559 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.2738/rust.changes 2020-05-07 17:50:24.953259003 +0200 @@ -1,0 +2,102 @@ +Mon May 4 16:21:54 UTC 2020 - Ismail Dönmez + +- Add rust-pr70163-prepare-for-llvm-10-upgrade.patch to fix compilation + with llvm10 + +--- +Mon May 4 10:45:18 UTC 2020 - Andreas Schwab + +- Update rustfmt_version + +--- +Wed Apr 29 11:46:59 UTC 2020 - Martin Sirringhaus + +- Update to version 1.43.0 + + Language + - Fixed using binary operations with `&{number}` (e.g. `&1.0`) +not having the type inferred correctly. + - Attributes such as `#[cfg()]` can now be used on `if` +expressions. + - Syntax only changes: +* Allow `type Foo: Ord` syntactically. +* Fuse associated and extern items up to defaultness. +* Syntactically allow `self` in all `fn` contexts. +* Merge `fn` syntax + cleanup item parsing. +* `item` macro fragments can be interpolated into `trait`s, + `impl`s, and `extern` blocks. + For example, you may now write: + ```rust + macro_rules! mac_trait { + ($i:item) => { + trait T { $i } + } + } + mac_trait! { + fn foo() {} + } + ``` +* These are still rejected *semantically*, so you will likely + receive an error but these changes can be seen and parsed by + macros and conditional compilation. + + Compiler + - You can now pass multiple lint flags to rustc to override the + previous flags. + For example; `rustc -D unused -A unused-variables` denies + everything in the `unused` lint group except `unused-variables` + which is explicitly allowed. However, passing + `rustc -A unused-variables -D unused` denies everything in + the `unused` lint group **including** `unused-variables` since + the allow flag is specified before the deny flag (and therefore + overridden). + - rustc will now prefer your system MinGW libraries over its + bundled libraries if they are available on `windows-gnu`. + - rustc now buffers errors/warnings printed in JSON. + + Libraries + - `Arc<[T; N]>`, `Box<[T; N]>`, and `Rc<[T; N]>`, now implement + `TryFrom>`,`TryFrom>`, and `TryFrom>` + respectively. + **Note** These conversions are only available when `N` is + `0..=32`. + - You can now use associated constants on floats and integers + directly, rather than having to import the module. + e.g. You can now write `u32::MAX` or `f32::NAN` with no imports. + - `u8::is_ascii` is now `const`. + - `String` now implements `AsMut`. + - Added the `primitive` module to `std` and `core`. + This module reexports Rust's primitive types. This is mainly + useful in macros where you want avoid these types being shadowed. + - Relaxed some of the trait bounds on `HashMap` and `HashSet`. + - `string::FromUtf8Error` now implements `Clone + Eq`. + + Stabilized APIs + - `Once::is_completed` + - `f32::LOG10_2` + - `f32::LOG2_10` + - `f64::LOG10_2` + - `f64::LOG2_10` + - `iter::once_with` + + Cargo + - You can now set config `[profile]`s in your `.cargo/config`, + or through your environment. + - Cargo will now set `CARGO_BIN_EXE_` pointing to a + binary's executable path when running integration tests or + benchmarks. + `` is the name of your binary as-is e.g. If you wanted + the executable path for a binary named `my-program`you would + use `env!("CARGO_BIN_EXE_my-program")`. + + Misc + - Certain checks in the `const_err` lint were deemed unrelated + to const evaluation, and have been moved to the + `unconditional_panic` and `arithmetic_overflow` lints. + + Compatibility Notes + - Having trailing syntax in the `assert!` macro is now a hard + error. This has been a warning since 1.36.0. + - Fixed `Self` not having the correctly inferred type. This + incorrectly led to some instances being accepted, and now + correctly emits a hard error. + +--- +Tue Apr 7 08:54:37 UTC 2020 - Andreas Schwab + +- Avoid duplication of environment settings + +--- Old: rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-04-07 10:24:16 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.3248 (New) Package is "rust" Tue Apr 7 10:24:16 2020 rev:50 rq:790671 version:1.42.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-03-31 17:12:30.655523411 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.3248/rust.changes 2020-04-07 10:25:18.898095559 +0200 @@ -1,0 +2,59 @@ +Tue Mar 31 12:28:18 UTC 2020 - Antonio Larrosa + +- Update to version 1.42.0: + + Language +- You can now use the slice pattern syntax with subslices. +- You can now use #[repr(transparent)] on univariant enums. Meaning + that you can create an enum that has the exact layout and ABI of + the type it contains. +- There are some syntax-only changes: + * default is syntactically allowed before items in trait +definitions. + * Items in impls (i.e. consts, types, and fns) may syntactically +leave out their bodies in favor of ;. + * Bounds on associated types in impls are now syntactically +allowed (e.g. type Foo: Ord;). + * ... (the C-variadic type) may occur syntactically directly +as the type of any function parameter. + These are still rejected semantically, so you will likely receive + an error but these changes can be seen and parsed by procedural + macros and conditional compilation. + + Compiler +- Added tier 2 support for armv7a-none-eabi. +- Added tier 2 support for riscv64gc-unknown-linux-gnu. +- Option::{expect,unwrap} and Result::{expect, expect_err, unwrap, + unwrap_err} now produce panic messages pointing to the location + where they were called, rather than core's internals. + Refer to Rust's platform support page for more information on + Rust's tiered platform support. + + Libraries +- iter::Empty now implements Send and Sync for any T. +- Pin::{map_unchecked, map_unchecked_mut} no longer require the + return type to implement Sized. +- io::Cursor now derives PartialEq and Eq. +- Layout::new is now const. +- Added Standard Library support for riscv64gc-unknown-linux-gnu. + + Stabilized APIs +- CondVar::wait_while +- CondVar::wait_timeout_while +- DebugMap::key +- DebugMap::value +- ManuallyDrop::take +- matches! +- ptr::slice_from_raw_parts_mut +- ptr::slice_from_raw_parts + + Cargo +- You no longer need to include extern crate proc_macro; to be + able to use proc_macro; in the 2018 edition. + + Compatibility Notes +- Error::description has been deprecated, and its use will now + produce a warning. It's recommended to use Display/to_string + instead. + +--- +Tue Mar 31 11:17:09 UTC 2020 - alarr...@suse.com + +- Rebased patches: + + ignore-Wstring-conversion.patch (offset / fuzz) + +--- Old: rust-1.40.0-aarch64-unknown-linux-gnu.tar.xz rust-1.40.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.40.0-i686-unknown-linux-gnu.tar.xz rust-1.40.0-powerpc-unknown-linux-gnu.tar.xz rust-1.40.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.40.0-s390x-unknown-linux-gnu.tar.xz rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.41.1-src.tar.xz New: rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz rust-1.41.1-armv7-unknown-linux-gnueabihf.tar.xz rust-1.41.1-i686-unknown-linux-gnu.tar.xz rust-1.41.1-powerpc-unknown-linux-gnu.tar.xz rust-1.41.1-powerpc64-unknown-linux-gnu.tar.xz rust-1.41.1-powerpc64le-unknown-linux-gnu.tar.xz rust-1.41.1-s390x-unknown-linux-gnu.tar.xz rust-1.41.1-x86_64-unknown-linux-gnu.tar.xz rustc-1.42.0-src.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.d7CF8y/_old 2020-04-07 10:25:40.510119588 +0200 +++ /var/tmp/diff_new_pack.d7CF8y/_new 2020-04-07 10:25:40.514119593 +0200 @@ -17,9 +17,9 @@ # -%global version_current 1.41.1 -%global version_previous 1.40.0 -%global version_bootstrap 1.40.0 +%global version_current 1.42.0 +%global version_previous 1.41.1 +%global version_bootstrap 1.41.1 # some sub-packages are versioned independently %global rustfmt_version 1.4.11 @@ -416,7 +416,6 @@ -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' '+' # Fix rpmlint error "This script uses 'env' as an interpreter" -sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' src/libcore/unicode/unicode.py sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|'
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-03-31 17:11:56 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.3160 (New) Package is "rust" Tue Mar 31 17:11:56 2020 rev:49 rq:788667 version:1.41.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-01-17 22:11:31.667137351 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new.3160/rust.changes 2020-03-31 17:12:30.655523411 +0200 @@ -1,0 +2,80 @@ +Mon Mar 23 19:01:55 UTC 2020 - Federico Mena Quintero + +- Update to version 1.41.1: + + - Always check types of static items + - Always check lifetime bounds of `Copy` impls + - Fix miscompilation in callers of `Layout::repeat` + +- Update to version 1.41.0: + + + Language +- You can now pass type parameters to foreign items when implementing + traits. E.g. You can now write `impl From for Vec {}`. +- You can now arbitrarily nest receiver types in the `self` position. E.g. you can + now write `fn foo(self: Box>) {}`. Previously only `Self`, ``, + ` Self`, `Arc`, `Rc`, and `Box` were allowed. +- You can now use any valid identifier in a `format_args` macro. + Previously identifiers starting with an underscore were not allowed. +- Visibility modifiers (e.g. `pub`) are now syntactically allowed on trait items and + enum variants. These are still rejected semantically, but + can be seen and parsed by procedural macros and conditional compilation. + + + Compiler +- Rustc will now warn if you have unused loop `'label`s. +- Removed support for the `i686-unknown-dragonfly` target. +- Added tier 3 support\* for the `riscv64gc-unknown-linux-gnu` target. +- You can now pass an arguments file passing the `@path` syntax + to rustc. Note that the format differs somewhat from what is + found in other tooling; please see the documentation for + more information. +- You can now provide `--extern` flag without a path, indicating that it is + available from the search path or specified with an `-L` flag. + +Refer to Rust's [platform support page][forge-platform-support] for more +information on Rust's tiered platform support. + + + Libraries +- The `core::panic` module is now stable. It was already stable + through `std`. +- `NonZero*` numerics now implement `From` if it's a smaller integer + width. E.g. `NonZeroU16` now implements `From`. +- `MaybeUninit` now implements `fmt::Debug`. + + + Stabilized APIs +- `Result::map_or` +- `Result::map_or_else` +- `std::rc::Weak::weak_count` +- `std::rc::Weak::strong_count` +- `std::sync::Weak::weak_count` +- `std::sync::Weak::strong_count` + + + Cargo +- Cargo will now document all the private items for binary crates + by default. +- `cargo-install` will now reinstall the package if it detects that it is out + of date. +- Cargo.lock now uses a more git friendly format that should help to reduce + merge conflicts. +- You can now override specific dependencies's build settings. E.g. + `[profile.dev.package.image] opt-level = 2` sets the `image` crate's + optimisation level to `2` for debug builds. You can also use + `[profile..build-override]` to override build scripts and + their dependencies. + + + Misc +- You can now specify `edition` in documentation code blocks to compile the block + for that edition. E.g. `edition2018` tells rustdoc that the code sample + should be compiled the 2018 edition of Rust. +- You can now provide custom themes to rustdoc with `--theme`, and check the + current theme with `--check-theme`. +- You can use `#[cfg(doc)]` to compile an item when building documentation. + + + Compatibility Notes +- As previously announced 1.41.0 will be the last tier 1 release for 32-bit + Apple targets. This means that the source code is still + available to build, but the targets are no longer being tested and release + binaries for those platforms will no longer be distributed by the Rust project. + Please refer to the linked blog post for more information. + +--- Old: 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 New: rust-1.40.0-aarch64-unknown-linux-gnu.tar.xz
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-01-17 22:11:30 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.26092 (New) Package is "rust" Fri Jan 17 22:11:30 2020 rev:48 rq:765286 version:1.40.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-01-15 16:51:18.361373122 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new.26092/rust.changes 2020-01-17 22:11:31.667137351 +0100 @@ -1,0 +2,7 @@ +Fri Jan 17 11:04:12 UTC 2020 - Dominique Leuenberger + +- Adjust constraints: Request 20GB HDD for all archs. Simplify the + file by removing the overrides for various disk sizes. All archs + are curretnly at roughly 17GB storage in use. + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.0Vwe6q/_old 2020-01-17 22:11:58.607150336 +0100 +++ /var/tmp/diff_new_pack.0Vwe6q/_new 2020-01-17 22:11:58.635150349 +0100 @@ -1,7 +1,7 @@ # # spec file for package rust # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2019 Luke Jones, l...@ljones.dev # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -120,7 +120,7 @@ Summary:A systems programming language License:MIT OR Apache-2.0 Group: Development/Languages/Rust -Url:https://www.rust-lang.org +URL:https://www.rust-lang.org Source0:%{dl_url}/rustc-%{version}-src.tar.xz Source99: %{name}-rpmlintrc Source100: %{dl_url}/rust-%{version_bootstrap}-x86_64-unknown-linux-gnu.tar.xz ++ _constraints ++ --- /var/tmp/diff_new_pack.0Vwe6q/_old 2020-01-17 22:11:58.859150457 +0100 +++ /var/tmp/diff_new_pack.0Vwe6q/_new 2020-01-17 22:11:58.859150457 +0100 @@ -6,7 +6,7 @@ 8 - 60 + 20 @@ -22,9 +22,6 @@ 4 - -15 - @@ -36,9 +33,6 @@ 8 - -50 - @@ -50,22 +44,6 @@ 8 - -10 - - - - - - - s390x - ppc64 - ppc64le - - - -25 -
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2020-01-15 16:08:48 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.30080 (New) Package is "rust" Wed Jan 15 16:08:48 2020 rev:47 rq:763684 version:1.40.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2020-01-04 20:17:41.110688597 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new.30080/rust.changes 2020-01-15 16:51:18.361373122 +0100 @@ -1,0 +2,9 @@ +Wed Jan 8 16:44:17 UTC 2020 - Federico Mena Quintero + +- Bump version of libssh2 for SLE15; we now need a version with + libssh2_userauth_publickey_frommemory(), which appeared in libssh2 + 1.6.0. +- Use the bundled libssh2 prior to SLE15. SLE12 has 1.4.3, which is + too old for the ssh crate now. + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.oVtCT5/_old 2020-01-15 16:51:35.741381285 +0100 +++ /var/tmp/diff_new_pack.oVtCT5/_new 2020-01-15 16:51:35.741381285 +0100 @@ -1,7 +1,7 @@ # # spec file for package rust # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 Luke Jones, l...@ljones.dev # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -120,7 +120,7 @@ Summary:A systems programming language License:MIT OR Apache-2.0 Group: Development/Languages/Rust -URL:https://www.rust-lang.org +Url:https://www.rust-lang.org Source0:%{dl_url}/rustc-%{version}-src.tar.xz Source99: %{name}-rpmlintrc Source100: %{dl_url}/rust-%{version_bootstrap}-x86_64-unknown-linux-gnu.tar.xz @@ -162,8 +162,8 @@ BuildRequires: gcc-c++ %endif # The following requires must mirror: LIBSSH2_SYS_USE_PKG_CONFIG -%if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 -BuildRequires: pkgconfig(libssh2) >= 1.4.3 +%if !%{with rust_bootstrap} && 0%{?sle_version} >= 15 +BuildRequires: pkgconfig(libssh2) >= 1.6.0 %endif # Real LLVM minimum version should be 7.x, but rust has a fallback # mode @@ -467,9 +467,8 @@ export CC=gcc-7 export CXX=g++-7 %endif -# Cargo use system libs if not bootstrapping -# restircted only to libssh due to version changes causing with cargo rpm deps -%if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 +# Make cargo use system libs if not bootstrapping +%if !%{with rust_bootstrap} && 0%{?sle_version} >= 15 export LIBSSH2_SYS_USE_PKG_CONFIG=1 %endif # eliminate complain from RPMlint @@ -492,9 +491,8 @@ export CC=gcc-7 export CXX=g++-7 %endif -# Cargo use system libs if not bootstrapping -# restircted only to libssh due to version changes causing with cargo rpm deps -%if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 +# Make cargo use system libs if not bootstrapping +%if !%{with rust_bootstrap} && 0%{?sle_version} >= 15 export LIBSSH2_SYS_USE_PKG_CONFIG=1 %endif # eliminate complain from RPMlint
commit rust for openSUSE:Factory
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.changes2019-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 + +- 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 - opensuse-packag...@opensuse.org + +- 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
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-12-30 13:46:33 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.6675 (New) Package is "rust" Mon Dec 30 13:46:33 2019 rev:45 rq:752417 version:1.39.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-10-25 18:41:17.239849350 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.6675/rust.changes 2019-12-30 13:48:09.401300961 +0100 @@ -1,0 +2,43 @@ +Fri Nov 29 14:43:11 UTC 2019 - Neal Gompa + +- Rename README to README.suse-maint and add it as a source + to stop factory-auto from declining submissions automatically + +--- +Mon Nov 25 13:25:52 UTC 2019 - Alberto Planas Dominguez + +- Re-format the spec file +- Add a README to explain the update process +- Add _service file for download the assets and re-base the patches + +--- +Fri Nov 8 23:43:13 UTC 2019 - Alberto Planas Dominguez + +- Add hopefully-fix-rustdoc-build.patch to fix rustdoc compilation + +--- +Thu Nov 7 15:33:25 UTC 2019 - Alberto Planas Dominguez + +- Update to version 1.39.0 + + Language +- You can now create async functions and blocks with async fn, + async move {}, and async {} respectively, and you can now call + .await on async expressions. +- You can now use certain attributes on function, closure, and + function pointer parameters. +- You can now take shared references to bind-by-move patterns in + the if guards of match arms. + + Compiler +- Added tier 3 support for the i686-unknown-uefi target. +- Added tier 3 support for the sparc64-unknown-openbsd target. +- rustc will now trim code snippets in diagnostics to fit in your + terminal. +- You can now pass --show-output argument to test binaries to + print the output of successful tests. + + For more details: + https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1390-2019-11-07 +- Drop patches already merged in upstream: + + rust-61206-assume-tarball-llvm-is-fresh.patch + + add-option-to-allow-warnings.patch + +--- Old: add-option-to-allow-warnings.patch rust-1.37.0-aarch64-unknown-linux-gnu.tar.xz rust-1.37.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.37.0-i686-unknown-linux-gnu.tar.xz rust-1.37.0-powerpc-unknown-linux-gnu.tar.xz rust-1.37.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.37.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.37.0-s390x-unknown-linux-gnu.tar.xz rust-1.37.0-x86_64-unknown-linux-gnu.tar.xz rust-61206-assume-tarball-llvm-is-fresh.patch rustc-1.38.0-src.tar.xz New: README.suse-maint _service 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 Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.14NHmx/_old 2019-12-30 13:48:53.901338981 +0100 +++ /var/tmp/diff_new_pack.14NHmx/_new 2019-12-30 13:48:53.901338981 +0100 @@ -1,7 +1,7 @@ # # spec file for package rust # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # Copyright (c) 2019 Luke Jones, l...@ljones.dev # # All modifications and additions to the file contributed by third parties @@ -17,38 +17,49 @@ # -%global version_current 1.38.0 -%global version_previous 1.37.0 -%global version_bootstrap 1.37.0 -# some sub-packages are versioned independantly -%global rustfmt_version 1.0.3 +%global version_current 1.39.0 +%global version_previous 1.38.0 +%global version_bootstrap 1.38.0 + +# some sub-packages are versioned independently +%global rustfmt_version 1.4.8 %global clippy_version 0.0.212 + # Build the rust target triple. # Some rust arches don't match what SUSE labels them. %global rust_arch %{_arch} %global abi gnu + %ifarch armv7hl %global rust_arch armv7 %global abi gnueabihf %endif + %ifarch armv6hl %global rust_arch arm %global abi gnueabihf %endif + %ifarch ppc %global rust_arch powerpc %endif + %ifarch ppc64 %global rust_arch powerpc64 %endif + %ifarch ppc64le %global rust_arch powerpc64le %endif -# Must restrict the x86 build to i686 since
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-10-25 18:41:14 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.2990 (New) Package is "rust" Fri Oct 25 18:41:14 2019 rev:44 rq:742247 version:1.38.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-10-17 12:55:22.889899234 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.2990/rust.changes 2019-10-25 18:41:17.239849350 +0200 @@ -1,0 +2,10 @@ +Wed Oct 23 09:56:33 UTC 2019 - Ralf Haferkamp + +- Switch to bundled version of libgit2 for now. libgit2-sys seems + to expect using the bundled variant, which just seems to point + to a snapshot of the master branch and doesn't match any released + libgit2 (bsc#1154817). + See: https://github.com/rust-lang/rust/issues/63476 and + https://github.com/rust-lang/git2-rs/issues/458 for details. + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.PRoAMT/_old 2019-10-25 18:41:29.623861121 +0200 +++ /var/tmp/diff_new_pack.PRoAMT/_new 2019-10-25 18:41:29.627861125 +0200 @@ -150,10 +150,8 @@ BuildRequires: python3-base BuildRequires: pkgconfig(libcurl) # The following requires must mirror: -# LIBGIT2_SYS_USE_PKG_CONFIG && # LIBSSH2_SYS_USE_PKG_CONFIG %if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 -BuildRequires: pkgconfig(libgit2) >= 0.23 BuildRequires: pkgconfig(libssh2) >= 1.4.3 %endif BuildRequires: pkgconfig(openssl) @@ -460,9 +458,8 @@ export CXX=g++-7 %endif # Cargo use system libs if not bootstrapping -# restircted only to libgit due to version changes causing with cargo rpm deps +# restircted only to libssh due to version changes causing with cargo rpm deps %if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 -export LIBGIT2_SYS_USE_PKG_CONFIG=1 export LIBSSH2_SYS_USE_PKG_CONFIG=1 %endif # eliminate complain from RPMlint @@ -486,9 +483,8 @@ export CXX=g++-7 %endif # Cargo use system libs if not bootstrapping -# restircted only to libgit due to version changes causing with cargo rpm deps +# restircted only to libssh due to version changes causing with cargo rpm deps %if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 -export LIBGIT2_SYS_USE_PKG_CONFIG=1 export LIBSSH2_SYS_USE_PKG_CONFIG=1 %endif # eliminate complain from RPMlint
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-10-17 12:54:31 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.2352 (New) Package is "rust" Thu Oct 17 12:54:31 2019 rev:43 rq:734176 version:1.38.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-09-23 11:59:07.709987417 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.2352/rust.changes 2019-10-17 12:55:22.889899234 +0200 @@ -1,0 +2,53 @@ +Mon Sep 30 21:29:54 UTC 2019 - Luke Jones + +- Add patch add-option-to-allow-warnings.patch to add a config option + which allows warnings and so enables v1.38 to bootstrap itself. + +--- +Mon Sep 30 02:46:51 UTC 2019 - Luke Jones + +- Update to version 1.38.0 + + Language +- The `#[global_allocator]` attribute can now be used in submodules. +- The `#[deprecated]` attribute can now be used on macros. + + Compiler +- Added pipelined compilation support to `rustc`. This will + improve compilation times in some cases. + + Libraries +- `ascii::EscapeDefault` now implements `Clone` and `Display`. +- Derive macros for prelude traits (e.g. `Clone`, `Debug`, `Hash`) are now + available at the same path as the trait. (e.g. The `Clone` derive macro + is available at `std::clone::Clone`). This also makes all built-in macros + available in `std`/`core` root. e.g. `std::include_bytes!`. +- `str::Chars` now implements `Debug`. +- `slice::{concat, connect, join}` now accepts `&[T]` in addition to ``. +- `*const T` and `*mut T` now implement `marker::Unpin`. +- `Arc<[T]>` and `Rc<[T]>` now implement `FromIterator`. +- Added euclidean remainder and division operations (`div_euclid`, + `rem_euclid`) to all numeric primitives. Additionally `checked`, + `overflowing`, and `wrapping` versions are available for all + integer primitives. +- `thread::AccessError` now implements `Clone`, `Copy`, `Eq`, `Error`, and + `PartialEq`. +- `iter::{StepBy, Peekable, Take}` now implement `DoubleEndedIterator`. + + Stabilized APIs +- `<*const T>::cast` +- `<*mut T>::cast` +- `Duration::as_secs_f32` +- `Duration::as_secs_f64` +- `Duration::div_f32` +- `Duration::div_f64` +- `Duration::from_secs_f32` +- `Duration::from_secs_f64` +- `Duration::mul_f32` +- `Duration::mul_f64` +- `any::type_name` + + Cargo +- Added pipelined compilation support to `cargo`. +- You can now pass the `--features` option multiple times to enable + multiple features. + + Misc +- `rustc` will now warn about some incorrect uses of + `mem::{uninitialized, zeroed}` that are known to cause undefined behaviour. + +--- Old: rust-1.36.0-aarch64-unknown-linux-gnu.tar.xz rust-1.36.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.36.0-i686-unknown-linux-gnu.tar.xz rust-1.36.0-powerpc-unknown-linux-gnu.tar.xz rust-1.36.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.36.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.36.0-s390x-unknown-linux-gnu.tar.xz rust-1.36.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.37.0-src.tar.xz New: add-option-to-allow-warnings.patch rust-1.37.0-aarch64-unknown-linux-gnu.tar.xz rust-1.37.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.37.0-i686-unknown-linux-gnu.tar.xz rust-1.37.0-powerpc-unknown-linux-gnu.tar.xz rust-1.37.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.37.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.37.0-s390x-unknown-linux-gnu.tar.xz rust-1.37.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.38.0-src.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.dUNGdb/_old 2019-10-17 12:55:51.989825512 +0200 +++ /var/tmp/diff_new_pack.dUNGdb/_new 2019-10-17 12:55:51.989825512 +0200 @@ -17,9 +17,9 @@ # -%global version_current 1.37.0 -%global version_previous 1.36.0 -%global version_bootstrap 1.36.0 +%global version_current 1.38.0 +%global version_previous 1.37.0 +%global version_bootstrap 1.37.0 # some sub-packages are versioned independantly %global rustfmt_version 1.0.3 %global clippy_version 0.0.212 @@ -124,6 +124,8 @@ Patch0: ignore-Wstring-conversion.patch # PATCH-FIX-UPSTREAM: Fix bug with timestamps which caused LLVM to rebuild - https://github.com/rust-lang/rust/issues/61206 Patch1: rust-61206-assume-tarball-llvm-is-fresh.patch +# PATCH-FIX-UPSTREAM: Adds an option to ignore warnings, primaraily used in this build to allow v1.38 to bootstrap itself +Patch2:
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-09-23 11:58:46 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.7948 (New) Package is "rust" Mon Sep 23 11:58:46 2019 rev:42 rq:730225 version:1.37.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-09-02 13:19:09.665377230 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.7948/rust.changes 2019-09-23 11:59:07.709987417 +0200 @@ -1,0 +2,8 @@ +Tue Sep 10 18:11:30 UTC 2019 - feder...@suse.com + +- Use gcc7 on all of SLE12, since the embedded LLVM wants at least gcc 5.1. + +- Add rust-61206-assume-tarball-llvm-is-fresh.patch - Upstream fix to make + LLVM not be rebuilt during the installation phase. + +--- New: rust-61206-assume-tarball-llvm-is-fresh.patch Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.HavWg0/_old 2019-09-23 11:59:25.981984400 +0200 +++ /var/tmp/diff_new_pack.HavWg0/_new 2019-09-23 11:59:25.981984400 +0200 @@ -82,8 +82,23 @@ %define codegen_units --set rust.codegen-units=0 %define debug_info --enable-debuginfo --disable-debuginfo-only-std --enable-debuginfo-tools --disable-debuginfo-lines %endif -# Use hardening ldflags. + +%if 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 +# Use hardening ldflags, plus link path for gcc7's libstdc++ +%global gcc_arch %{_arch} +%ifarch %{ix86} +# This is where gcc7 puts things in 32-bit x86. +%global gcc_arch i586 +%endif +%ifarch ppc64le +# This is where gcc7 puts things in ppc64le. +%global gcc_arch powerpc64le +%endif +%global rustflags -Clink-arg=-Wl,-z,relro,-z,now -L%{_libdir}/gcc/%{gcc_arch}-suse-linux/7 +%else +# Use hardening ldflags %global rustflags -Clink-arg=-Wl,-z,relro,-z,now +%endif # Exclude implicitly-scanned Provides, especially the libLLVM.so ones: %global __provides_exclude_from ^%{rustlibdir}/.*$ @@ -107,6 +122,8 @@ Source108: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz # PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag Patch0: ignore-Wstring-conversion.patch +# PATCH-FIX-UPSTREAM: Fix bug with timestamps which caused LLVM to rebuild - https://github.com/rust-lang/rust/issues/61206 +Patch1: rust-61206-assume-tarball-llvm-is-fresh.patch BuildRequires: ccache # Leap 42 to 42.3, SLE12 SP1, SP2 %if 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120200 @@ -118,7 +135,13 @@ %endif BuildRequires: curl BuildRequires: fdupes +# In all of SLE12, the default gcc is 4.8. Rust's LLVM wants 5.1 at least. +# So, we'll just use gcc7. +%if 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 +BuildRequires: gcc7-c++ +%else BuildRequires: gcc-c++ +%endif BuildRequires: git BuildRequires: pkgconfig BuildRequires: procps @@ -127,7 +150,7 @@ # The following requires must mirror: # LIBGIT2_SYS_USE_PKG_CONFIG && # LIBSSH2_SYS_USE_PKG_CONFIG -%if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120400 +%if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 BuildRequires: pkgconfig(libgit2) >= 0.23 BuildRequires: pkgconfig(libssh2) >= 1.4.3 %endif @@ -352,6 +375,7 @@ %setup -q -n rustc-%{version}-src %patch0 -p1 +%patch1 -p1 # use python3 sed -i -e "1s|#!.*|#!%{_bindir}/python3|" x.py @@ -427,14 +451,19 @@ # If the environments between build and install and different, # everything will be rebuilt during installation! export RUSTFLAGS="%{rustflags}" +%if 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 +export CC=gcc-7 +export CXX=g++-7 +%endif # Cargo use system libs if not bootstrapping # restircted only to libgit due to version changes causing with cargo rpm deps -%if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120400 +%if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 export LIBGIT2_SYS_USE_PKG_CONFIG=1 export LIBSSH2_SYS_USE_PKG_CONFIG=1 %endif # eliminate complain from RPMlint export CPPFLAGS="%{optflags}" +export DESTDIR=%{buildroot} # END EXPORTS ./x.py build -v @@ -448,18 +477,23 @@ # If the environments between build and install and different, # everything will be rebuilt during installation! export RUSTFLAGS="%{rustflags}" +%if 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120500 +export CC=gcc-7 +export CXX=g++-7 +%endif # Cargo use system libs if not bootstrapping # restircted only to libgit due to version changes causing with cargo rpm deps -%if !%with rust_bootstrap || 0%{?sle_version} >= 12 && 0%{?sle_version} <= 120400
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-09-02 13:19:05 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.7948 (New) Package is "rust" Mon Sep 2 13:19:05 2019 rev:41 rq:726629 version:1.37.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-07-13 13:59:24.838916036 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.7948/rust.changes 2019-09-02 13:19:09.665377230 +0200 @@ -1,0 +2,68 @@ +Wed Aug 28 01:00:37 UTC 2019 - Luke Jones + +- Update to version 1.37.0 + + Language +- #[must_use] will now warn if the type is contained in a tuple, + Box, or an array and unused. +- You can now use the `cfg` and `cfg_attr` attributes on + generic parameters. +- You can now use enum variants through type alias. e.g. You can + write the following: + ``` + type MyOption = Option; + + fn increment_or_zero(x: MyOption) -> u8 { + match x { + MyOption::Some(y) => y + 1, + MyOption::None => 0, + } + } + ``` +- You can now use `_` as an identifier for consts. e.g. You can write + `const _: u32 = 5;`. +- You can now use `#[repr(align(X)]` on enums. +- The `?` Kleene macro operator is now available in the + 2015 edition. + + Compiler +- You can now enable Profile-Guided Optimization with the `-C profile-generate` + and `-C profile-use` flags. For more information on how to use profile + guided optimization, please refer to the rustc book. +- The `rust-lldb` wrapper script should now work again. + + Libraries +- `mem::MaybeUninit` is now ABI-compatible with `T`. + + Stabilized APIs +- BufReader::buffer +- BufWriter::buffer +- Cell::from_mut +- Cell<[T]>::as_slice_of_cells +- Cell::as_slice_of_cells +- DoubleEndedIterator::nth_back +- Option::xor +- Wrapping::reverse_bits +- i128::reverse_bits +- i16::reverse_bits +- i32::reverse_bits +- i64::reverse_bits +- i8::reverse_bits +- isize::reverse_bits +- slice::copy_within +- u128::reverse_bits +- u16::reverse_bits +- u32::reverse_bits +- u64::reverse_bits +- u8::reverse_bits +- usize::reverse_bits + + Cargo +- Cargo.lock files are now included by default when publishing executable crates + with executables. +- You can now specify `default-run="foo"` in `[package]` to specify the + default executable to use for `cargo run`. +- cargo-vendor is now provided as a sub-command of cargo + + Compatibility Notes +- Using `...` for inclusive range patterns will now warn by default. + Please transition your code to using the `..=` syntax for inclusive + ranges instead. +- Using a trait object without the `dyn` will now warn by default. + Please transition your code to use `dyn Trait` for trait objects instead. + +--- Old: rustc-1.36.0-src.tar.xz New: rustc-1.37.0-src.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.rkVjWf/_old 2019-09-02 13:19:28.513374331 +0200 +++ /var/tmp/diff_new_pack.rkVjWf/_new 2019-09-02 13:19:28.517374330 +0200 @@ -2,7 +2,7 @@ # spec file for package rust # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2019 Luke Jones, jones...@protonmail.com +# Copyright (c) 2019 Luke Jones, l...@ljones.dev # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,8 @@ # -%global version_current 1.36.0 -%global version_previous 1.35.0 +%global version_current 1.37.0 +%global version_previous 1.36.0 %global version_bootstrap 1.36.0 # some sub-packages are versioned independantly %global rustfmt_version 1.0.3 @@ -293,6 +293,8 @@ Obsoletes: cargo < %{version} Conflicts: cargo < %{version} Provides: rustc:%{_bindir}/cargo = %{version} +Obsoletes: cargo-vendor < %{version} +Conflicts: cargo-vendor < %{version} %description -n cargo Cargo downloads dependencies of Rust projects and compiles it. ++ rustc-1.36.0-src.tar.xz -> rustc-1.37.0-src.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rustc-1.36.0-src.tar.xz /work/SRC/openSUSE:Factory/.rust.new.7948/rustc-1.37.0-src.tar.xz differ: char 27, line 1
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-07-13 13:43:29 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.4615 (New) Package is "rust" Sat Jul 13 13:43:29 2019 rev:40 rq:714307 version:1.36.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-07-08 15:03:11.250730737 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.4615/rust.changes 2019-07-13 13:59:24.838916036 +0200 @@ -1,0 +2,78 @@ +Tue Jul 9 09:57:46 UTC 2019 - Luke Jones + +- Remove fix-llvm8-build.patch, fixed upstream + +--- +Mon Jul 8 20:29:46 UTC 2019 - Luke Jones + +- Update to version 1.36.0 + + Language +- Non-Lexical Lifetimes are now enabled on the 2015 edition +- The order of traits in trait objects no longer affects the semantics of that + object. e.g. `dyn Send + fmt::Debug` is now equivalent to + `dyn fmt::Debug + Send`, where this was previously not the case. + + Libraries +- `HashMap`'s implementation has been replaced with `hashbrown::HashMap` implementation +- `TryFromSliceError` now implements `From` +- `mem::needs_drop` is now available as a const fn +- `alloc::Layout::from_size_align_unchecked` is now available as a const fn +- `String` now implements `BorrowMut` +- `io::Cursor` now implements `Default` +- Both `NonNull::{dangling, cast}` are now const fns +- The `alloc` crate is now stable. `alloc` allows you to use a subset + of `std` (e.g. `Vec`, `Box`, `Arc`) in `#![no_std]` environments if the + environment has access to heap memory allocation. +- String` now implements `From<>` +- You can now pass multiple arguments to the `dbg!` macro. `dbg!` will + return a tuple of each argument when there is multiple arguments. +- `Result::{is_err, is_ok}` are now `#[must_use]` and will produce a warning if + not used. + + Stabilized APIs +- VecDeque::rotate_left +- VecDeque::rotate_right +- Iterator::copied +- io::IoSlice +- io::IoSliceMut +- Read::read_vectored +- Write::write_vectored +- str::as_mut_ptr +- mem::MaybeUninit +- pointer::align_offset +- future::Future +- task::Context +- task::RawWaker +- task::RawWakerVTable +- task::Waker +- task::Poll + + Cargo +- Cargo will now produce an error if you attempt to use the name of a required dependency as a feature +- You can now pass the `--offline` flag to run cargo without accessing the network + + Clippy +- New lints: `find_map`, `filter_map_next` +- New lint: `path_buf_push_overwrite` +- Move `path_buf_push_overwrite` to the nursery +- Split `redundant_closure` into `redundant_closure` and `redundant_closure_for_method_calls` +- Allow allowing of `toplevel_ref_arg` lint +- Fix false negative in `or_fun_call` pertaining to nested constructors +- Fixed false positive in `or_fn_call` pertaining to enum variant constructors +- Fix false positive in `useless_let_if_seq` pertaining to interior mutability +- Fix false positive in `redundant_closure` pertaining to non-function types +- Fix false positive in `let_and_return` pertaining to attributes on `let`s +- Fix false positive in `module_name_repetitions` lint pertaining to attributes +- Fix false positive on `assertions_on_constants` pertaining to `debug_assert!` +- Improve suggestion in `map_clone` to suggest `.copied()` where applicable +- Improve suggestion for `search_is_some` +- Improve suggestion applicability for `naive_bytecount` +- Improve suggestion applicability for `while_let_loop` +- Improve diagnostics for `too_many_arguments` +- Improve diagnostics for `cast_lossless` +- Deal with macro checks in desugarings better +- Add macro check for `unnecessary_cast` +- Remove `approx_constant`'s documentation's "Known problems" section +- Fix ICE in `suspicious_else_formatting` +- Fix ICE in `decimal_literal_representation` + + Compatibility Notes +- With the stabilisation of `mem::MaybeUninit`, `mem::uninitialized` use is no + longer recommended, and will be deprecated in 1.38.0. + +--- Old: fix-llvm8-build.patch rust-1.35.0-aarch64-unknown-linux-gnu.tar.xz rust-1.35.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.35.0-i686-unknown-linux-gnu.tar.xz rust-1.35.0-powerpc-unknown-linux-gnu.tar.xz rust-1.35.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.35.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.35.0-s390x-unknown-linux-gnu.tar.xz rust-1.35.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.35.0-src.tar.xz New:
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-07-08 15:03:07 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.4615 (New) Package is "rust" Mon Jul 8 15:03:07 2019 rev:39 rq:713251 version:1.35.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-06-03 18:45:44.248632642 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.4615/rust.changes 2019-07-08 15:03:11.250730737 +0200 @@ -1,0 +2,5 @@ +Tue Jul 2 07:21:24 UTC 2019 - Andreas Schwab + +- Add support for ppc + +--- New: rust-1.35.0-powerpc-unknown-linux-gnu.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.Kuop3N/_old 2019-07-08 15:03:27.338755062 +0200 +++ /var/tmp/diff_new_pack.Kuop3N/_new 2019-07-08 15:03:27.338755062 +0200 @@ -35,6 +35,9 @@ %global rust_arch arm %global abi gnueabihf %endif +%ifarch ppc +%global rust_arch powerpc +%endif %ifarch ppc64 %global rust_arch powerpc64 %endif @@ -61,6 +64,13 @@ %bcond_without bundled_llvm %endif +# RLS requires 64-bit atomics +%ifarch ppc +%bcond_with rls +%else +%bcond_without rls +%endif + # enable the --with-rust_bootstrap flag %bcond_with rust_bootstrap @@ -94,6 +104,7 @@ Source105: %{dl_url}/rust-%{version_bootstrap}-powerpc64-unknown-linux-gnu.tar.xz Source106: %{dl_url}/rust-%{version_bootstrap}-powerpc64le-unknown-linux-gnu.tar.xz Source107: %{dl_url}/rust-%{version_bootstrap}-s390x-unknown-linux-gnu.tar.xz +Source108: %{dl_url}/rust-%{version_bootstrap}-powerpc-unknown-linux-gnu.tar.xz # PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag Patch0: ignore-Wstring-conversion.patch # PATCH-FIX-UPSTREAM: gh#rust-lang/rust#60184 @@ -133,7 +144,7 @@ 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} +ExclusiveArch: x86_64 %{arm} aarch64 ppc ppc64 ppc64le s390x %{ix86} %ifarch %{ix86} ExclusiveArch: i686 %endif @@ -266,9 +277,9 @@ %package -n clippy Summary:Lints to catch common mistakes and improve Rust code -# /usr/bin/clippy-driver is dynamically linked against internal rustc libs License:MPL-2.0 Group: Development/Languages/Rust +# /usr/bin/clippy-driver is dynamically linked against internal rustc libs Requires: %{name} = %{version} Requires: cargo = %{version} Provides: clippy = %{clippy_version} @@ -290,10 +301,10 @@ %package -n cargo-doc Summary:Documentation for Cargo -# Cargo no longer builds its own documentation -# https://github.com/rust-lang/cargo/pull/4904 License:MIT OR Apache-2.0 Group: Development/Languages/Rust +# Cargo no longer builds its own documentation +# https://github.com/rust-lang/cargo/pull/4904 Requires: rust-doc = %{version} BuildArch: noarch @@ -326,6 +337,9 @@ %ifarch s390x %setup -q -T -b 107 -n rust-%{version_bootstrap}-%{rust_triple} %endif +%ifarch ppc +%setup -q -T -b 108 -n rust-%{version_bootstrap}-%{rust_triple} +%endif ./install.sh --components=cargo,rustc,rust-std-%{rust_triple} --prefix=.%{_prefix} --disable-ldconfig %endif @@ -394,7 +408,11 @@ %{codegen_units} \ --enable-vendor \ --enable-extended \ +%if %{with rls} --tools="cargo","rls","clippy","rustfmt","analysis","src" \ +%else + --tools="cargo","clippy","rustfmt","analysis","src" \ +%endif --release-channel="stable" # Sometimes we may be rebuilding with the same compiler, @@ -533,6 +551,7 @@ %dir %{rustlibdir} %{rustlibdir}/src +%if %{with rls} %files -n rls %if 0%{?suse_version} == 1315 %doc src/tools/rls/LICENSE-{APACHE,MIT} @@ -541,6 +560,7 @@ %endif %doc src/tools/rls/{README.md,COPYRIGHT,debugging.md} %{_bindir}/rls +%endif %files analysis %{rustlibdir}/%{rust_triple}/analysis/ ++ _constraints ++ --- /var/tmp/diff_new_pack.Kuop3N/_old 2019-07-08 15:03:27.374755116 +0200 +++ /var/tmp/diff_new_pack.Kuop3N/_new 2019-07-08 15:03:27.374755116 +0200 @@ -15,6 +15,7 @@ i586 armv6l armv7l + ppc 2
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-06-03 18:45:00 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.5148 (New) Package is "rust" Mon Jun 3 18:45:00 2019 rev:38 rq:706422 version:1.35.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-05-03 22:24:25.671968810 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.5148/rust.changes 2019-06-03 18:45:44.248632642 +0200 @@ -1,0 +2,73 @@ +Wed May 29 21:38:13 UTC 2019 - Luke Jones + +- Update to version 1.35.0 + + Language +- `FnOnce`, `FnMut`, and the `Fn` traits are now implemented for `Box`, + `Box`, and `Box` respectively. +- You can now coerce closures into unsafe function pointers. e.g. + unsafe fn call_unsafe(func: unsafe fn()) { + func() + } + + pub fn main() { + unsafe { call_unsafe(|| {}); } + } + + Compiler +- Added the `armv6-unknown-freebsd-gnueabihf` and + `armv7-unknown-freebsd-gnueabihf` targets. +- Added the `wasm32-unknown-wasi` target. + + Libraries +- `Thread` will now show its ID in `Debug` output. +- `StdinLock`, `StdoutLock`, and `StderrLock` now implement `AsRawFd`. +- `alloc::System` now implements `Default`. +- Expanded `Debug` output (`{:#?}`) for structs now has a trailing comma on the + last field. +- `char::{ToLowercase, ToUppercase}` now + implement `ExactSizeIterator`. +- All `NonZero` numeric types now implement `FromStr`. +- Removed the `Read` trait bounds + on the `BufReader::{get_ref, get_mut, into_inner}` methods. +- You can now call the `dbg!` macro without any parameters to print the file + and line where it is called. +- In place ASCII case conversions are now up to 4× faster. + e.g. `str::make_ascii_lowercase` +- `hash_map::{OccupiedEntry, VacantEntry}` now implement `Sync` + and `Send`. + + Stabilized APIs +- `f32::copysign` +- `f64::copysign` +- `RefCell::replace_with` +- `RefCell::map_split` +- `ptr::hash` +- `Range::contains` +- `RangeFrom::contains` +- `RangeTo::contains` +- `RangeInclusive::contains` +- `RangeToInclusive::contains` +- `Option::copied` + + Cargo +- You can now set `cargo:rustc-cdylib-link-arg` at build time to pass custom + linker arguments when building a `cdylib`. Its usage is highly + platform specific. + +- version 1.34.2 + + Destabilize the `Error::type_id` function due to a security + vulnerability (CVE-2019-12083) + +- version 1.34.1 + + Fix false positives for the `redundant_closure` Clippy lint + + Fix false positives for the `missing_const_for_fn` Clippy lint + + Fix Clippy panic when checking some macros + +--- +Sat May 25 12:23:30 UTC 2019 - Aaron Puchert + +- Add fix-llvm8-build.patch: Fix linker errors with llvm8 by + limiting internalization in ThinLTO. + +--- +Fri May 17 23:06:25 UTC 2019 - feder...@suse.com + +- Fix regexp for .rlib files in rust-rpmlintrc. + +--- Old: rust-1.34.0-aarch64-unknown-linux-gnu.tar.xz rust-1.34.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.34.0-i686-unknown-linux-gnu.tar.xz rust-1.34.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.34.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.34.0-s390x-unknown-linux-gnu.tar.xz rust-1.34.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.34.0-src.tar.xz New: fix-llvm8-build.patch rust-1.35.0-aarch64-unknown-linux-gnu.tar.xz rust-1.35.0-armv7-unknown-linux-gnueabihf.tar.xz rust-1.35.0-i686-unknown-linux-gnu.tar.xz rust-1.35.0-powerpc64-unknown-linux-gnu.tar.xz rust-1.35.0-powerpc64le-unknown-linux-gnu.tar.xz rust-1.35.0-s390x-unknown-linux-gnu.tar.xz rust-1.35.0-x86_64-unknown-linux-gnu.tar.xz rustc-1.35.0-src.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.UdP8KW/_old 2019-06-03 18:46:07.708624585 +0200 +++ /var/tmp/diff_new_pack.UdP8KW/_new 2019-06-03 18:46:07.708624585 +0200 @@ -17,9 +17,9 @@ # -%global version_current 1.34.0 -%global version_previous 1.33.0 -%global version_bootstrap 1.34.0 +%global version_current 1.35.0 +%global version_previous 1.34.0 +%global version_bootstrap 1.35.0 # some sub-packages are versioned independantly %global rustfmt_version 1.0.3 %global clippy_version 0.0.212 @@ -96,6 +96,8 @@ Source107: %{dl_url}/rust-%{version_bootstrap}-s390x-unknown-linux-gnu.tar.xz # PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-05-03 22:24:24 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.5148 (New) Package is "rust" Fri May 3 22:24:24 2019 rev:37 rq:699843 version:1.34.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-04-18 13:56:55.247965125 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.5148/rust.changes 2019-05-03 22:24:25.671968810 +0200 @@ -1,0 +2,5 @@ +Wed Apr 24 17:39:11 UTC 2019 - Martin Liška + +- Disable LTO (boo#1133283). + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.LcMDUJ/_old 2019-05-03 22:24:36.831991680 +0200 +++ /var/tmp/diff_new_pack.LcMDUJ/_new 2019-05-03 22:24:36.835991688 +0200 @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -370,6 +370,7 @@ chmod +x src/libcore/unicode/printable.py %build +%define _lto_cflags %{nil} %configure \ --disable-option-checking \ --build=%{rust_triple} --host=%{rust_triple} --target=%{rust_triple} \
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-04-18 13:55:59 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.5536 (New) Package is "rust" Thu Apr 18 13:55:59 2019 rev:36 rq:694775 version:1.34.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-04-02 09:19:02.716566546 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new.5536/rust.changes 2019-04-18 13:56:55.247965125 +0200 @@ -1,0 +2,96 @@ +Thu Apr 11 23:32:24 UTC 2019 - Luke Jones + +- Update to version 1.34.0 + + Language +- You can now use `#[deprecated = "reason"]` as a shorthand for + `#[deprecated(note = "reason")]`. This was previously allowed + by mistake but had no effect. +- You can now accept token streams in `#[attr()]`,`#[attr[]]`, and + `#[attr{}]` procedural macros. +- You can now write `extern crate self as foo;` to import your + crate's root into the extern prelude. + + Compiler +- You can now target `riscv64imac-unknown-none-elf` and + `riscv64gc-unknown-none-elf`. +- You can now enable linker plugin LTO optimisations with + `-C linker-plugin-lto`. This allows rustc to compile your Rust + code into LLVM bitcode allowing LLVM to perform LTO optimisations + across C/C++ FFI boundaries. +- You can now target `powerpc64-unknown-freebsd`. + + Libraries +- The trait bounds have been removed on some of `HashMap`'s + and `HashSet`'s basic methods. Most notably you no longer + require the `Hash` trait to create an iterator. +- The `Ord` trait bounds have been removed on some of + `BinaryHeap`'s basic methods. Most notably you no longer require + the `Ord` trait to create an iterator. +- The methods `overflowing_neg` and `wrapping_neg` are now `const` + functions for all numeric types. +- Indexing a `str` is now generic over all types that + implement `SliceIndex`. +- `str::trim`, `str::trim_matches`, `str::trim_{start, end}`, and + `str::trim_{start, end}_matches` are now `#[must_use]` and will + produce a warning if their returning type is unused. +- The methods `checked_pow`, `saturating_pow`, `wrapping_pow`, and + `overflowing_pow` are now available for all numeric types. These are + equivalvent to methods such as `wrapping_add` for the `pow` operation. + + Stabilized APIs +- std & core + + Any::type_id + + Error::type_id + + atomic::AtomicI16 + + atomic::AtomicI32 + + atomic::AtomicI64 + + atomic::AtomicI8 + + atomic::AtomicU16 + + atomic::AtomicU32 + + atomic::AtomicU64 + + atomic::AtomicU8 + + convert::Infallible + + convert::TryFrom + + convert::TryInto + + iter::from_fn + + iter::successors + + num::NonZeroI128 + + num::NonZeroI16 + + num::NonZeroI32 + + num::NonZeroI64 + + num::NonZeroI8 + + num::NonZeroIsize + + slice::sort_by_cached_key + + str::escape_debug + + str::escape_default + + str::escape_unicode + + str::split_ascii_whitespace +- std + + Instant::checked_add + + Instant::checked_sub + + SystemTime::checked_add + + SystemTime::checked_sub + + Cargo +- You can now use alternative registries to crates.io. + + Misc +- You can now use the `?` operator in your documentation + tests without manually adding `fn main() -> Result<(), _> {}`. + + Compatibility Notes +- `Command::before_exec` is now deprecated in favor of the + unsafe method `Command::pre_exec`. +- Use of `ATOMIC_{BOOL, ISIZE, USIZE}_INIT` is now deprecated. + As you can now use `const` functions in `static` variables. +- Remove depreciated-trim_left_matches.patch. +- Rustfmt version bumped to 1.0.3 + + Change description not provided. +- rls version now in sync with rustc. +- Misc fixes to rust.spec + +--- +Mon Mar 25 16:09:44 UTC 2019 - Federico Mena Quintero + +- Use the system's LLVM in SLE15-SP1. That distribution has LLVM7, + and we need to use it there, instead of any other version. +- Prevent auto-provides from being created for things under + rustlibdir, so the RPM does not inadvertently have a Provides for a + bundled LLVM and the Rust library files. +- Sync changes files between SLE and openSUSE, for ease of maintenance. + +--- @@ -186,0 +283,8 @@ +Tue Jan 22 18:19:47 UTC 2019 - feder...@suse.com + +- Remove + CVE-2018-1000622-prevent-rustdoc-loads-uncontrolled-plugins-path.patch, + since rustdoc plugins are fixed since version 1.27.1 (bsc#1100691, + CVE-2018-1000622). +
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-04-02 09:18:58 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.25356 (New) Package is "rust" Tue Apr 2 09:18:58 2019 rev:35 rq:687578 version:1.33.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-03-05 12:18:23.288968344 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new.25356/rust.changes 2019-04-02 09:19:02.716566546 +0200 @@ -1,0 +2,133 @@ +Fri Mar 22 00:02:26 UTC 2019 - Luke Jones + +- Explicitly build only a subset of tools + +--- +Sat Mar 16 01:19:22 UTC 2019 - Luke Jones + +- Remove miri complete instead of excluding. This is experimental + and so should not be included. +- BuildRequires ccache in attempt to reduce compile times. +- Remove more extraneous directories from src that will never be + used. +- Extra patterns in rpmlintrc to catch more false positives: + + Rust has no stable API, ignore SONAME warnings + + Tool versions don't update in step with rust, ignore warnings + +--- +Wed Mar 6 09:07:43 UTC 2019 - Luke Jones + +- Separate the bootstrap version from the minimum required system + version for package builds. + +--- +Mon Mar 4 08:17:43 UTC 2019 - Luke Jones + +- add depreciated-trim_left_matches.patch: replaces depreciated + function call in src/tools/tidy with trim_start_matches to fix + error when bootstrapping with system 1.33.0 + +--- +Sat Mar 2 05:17:36 UTC 2019 - Luke Jones + +- Update to version 1.33.0 + + Language +- You can now use the `cfg(target_vendor)` attribute. E.g. + `#[cfg(target_vendor="linux")] fn main() { println!("Hello Linux!"); }` +- Integer patterns such as in a match expression can now be exhaustive. + E.g. You can have match statement on a `u8` that covers `0..=255` and + you would no longer be required to have a `_ => unreachable!()` case. +- You can now have multiple patterns in `if let` and `while let` + expressions. You can do this with the same syntax as a `match` + expression. E.g. + ``` + enum Creature { + Crab(String), + Lobster(String), + Person(String), + } + + fn main() { + let state = Creature::Crab("Ferris"); + + if let Creature::Crab(name) | Creature::Person(name) = state { + println!("This creature's name is: {}", name); + } + } + ``` +- You can now have irrefutable `if let` and `while let` patterns. Using + this feature will by default produce a warning as this behaviour can be + unintuitive. E.g. `if let _ = 5 {}` +- You can now use `let` bindings, assignments, expression statements, + and irrefutable pattern destructuring in const functions. +- You can now call unsafe const functions. E.g. + ``` + const unsafe fn foo() -> i32 { 5 } + const fn bar() -> i32 { + unsafe { foo() } + } + ``` +- You can now specify multiple attributes in a `cfg_attr` attribute. + E.g. `#[cfg_attr(all(), must_use, optimize)]` +- You can now specify a specific alignment with the `#[repr(packed)]` + attribute. E.g. `#[repr(packed(2))] struct Foo(i16, i32);` is a struct + with an alignment of 2 bytes and a size of 6 bytes. +- You can now import an item from a module as an `_`. This allows you to + import a trait's impls, and not have the name in the namespace. E.g. + ``` + use std::io::Read as _; + + // Allowed as there is only one `Read` in the module. + pub trait Read {} + ``` +- extern` functions will now abort by default when panicking. + This was previously undefined behaviour. + + Compiler +- You can now set a linker flavor for `rustc` with the `-Clinker-flavor` + command line argument. +- The mininum required LLVM version has been bumped to 6.0. +- Added support for the PowerPC64 architecture on FreeBSD. +- The `x86_64-fortanix-unknown-sgx` target support has been upgraded to + tier 2 support. Visit the [platform support][platform-support] page for + information on Rust's platform support. +- Added support for the `thumbv7neon-linux-androideabi` and + `thumbv7neon-unknown-linux-gnueabihf` targets. +- Added support for the `x86_64-unknown-uefi` target. + + + Libraries +- The methods `overflowing_{add, sub, mul, shl, shr}` are now `const` + functions for all numeric types. +- The
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-03-05 12:17:12 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.28833 (New) Package is "rust" Tue Mar 5 12:17:12 2019 rev:34 rq:680376 version:1.32.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2019-01-11 14:03:05.423944891 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new.28833/rust.changes 2019-03-05 12:18:23.288968344 +0100 @@ -1,0 +2,216 @@ +Fri Mar 1 06:57:58 UTC 2019 - Luke Jones + +- Bump minimum LLVM to 7.0 +- Add conditions to build SLE versions with bundled libgit2 and + libssh2 + +--- +Thu Feb 28 17:08:08 UTC 2019 - Federico Mena Quintero + +- Use cmake3, not cmake, in SLE-12 SP2 and earlier. The stock cmake + package there was 2.x, and building llvm requires cmake 3.5. + +--- +Wed Feb 27 21:39:35 UTC 2019 - jones...@protonmail.com + +- Use same version bootstrap as package source +- Fixes to build with correct LLVM for SLE and Leap releases + +--- +Wed Feb 27 02:38:54 UTC 2019 - Luke Jones + +- Move export vars directly to where used. +- Change codegen units to 2 for Arm and x86 builds in attempt to + reduce memory use by LLVM. + +--- +Wed Feb 27 02:12:17 UTC 2019 - Federico Mena Quintero + +- Put each exported environment variable in a separate line so the + specfile will work on SLE SP0/SP1/SP2. + +--- +Sun Feb 24 09:40:06 UTC 2019 - Jan Engelhardt + +- Avoid bash-specific syntax in "test" call. + +--- +Sun Feb 24 01:52:06 UTC 2019 - Luke Jones + +- Fix bootstrap conditionals +- Fix bundled_llvm conditionals +- Don't build stage0 if compiler used to build package is the + same version as package + +--- +Sat Feb 23 01:58:47 UTC 2019 - Luke Jones + +- Ensure install environment is the same as build environment to + prevent building everything twice (second time without correct + flags). + +--- +Thu Jan 17 21:22:11 UTC 2019 - Luke Jones + +- Update to version 1.32.0 +- Language + + 2018 edition +- You can now use the `?` operator in macro definitions. The `?` + operator allows you to specify zero or one repetitions similar to the `*` and + `+` operators. +- Module paths with no leading keyword like `super`, `self`, or `crate`, will + now always resolve to the item (`enum`, `struct`, etc.) available in the + module if present, before resolving to a external crate or an item the prelude. + E.g. + enum Color { Red, Green, Blue } + use Color::*; + + All editions +- You can now match against `PhantomData` types. +- You can now match against literals in macros with the `literal` + specifier. This will match against a literal of any type. + E.g. `1`, `'A'`, `"Hello World"` +- Self can now be used as a constructor and pattern for unit and tuple structs. E.g. + struct Point(i32, i32); + + impl Point { + pub fn new(x: i32, y: i32) -> Self { + Self(x, y) + } + + pub fn is_origin() -> bool { + match self { + Self(0, 0) => true, + _ => false, + } + } + } +- Self can also now be used in type definitions. E.g. + enum List + where + Self: PartialOrd // can write `Self` instead of `List` + { + Nil, + Cons(T, Box) // likewise here + } +- You can now mark traits with `#[must_use]`. This provides a warning if + a `impl Trait` or `dyn Trait` is returned and unused in the program. +- Compiler + + The default allocator has changed from jemalloc to the default allocator on +your system. The compiler itself on Linux & macOS will still use +jemalloc, but programs compiled with it will use the system allocator. + + Added the `aarch64-pc-windows-msvc` target. +- Libraries + + `PathBuf` now implements `FromStr`. + - `Box<[T]>` now implements `FromIterator`. + - The `dbg!` macro has been stabilized. This macro enables you to +easily debug expressions in your rust program. E.g. +let a = 2; +let b = dbg!(a * 2) + 1; +// ^-- prints: [src/main.rs:4] a * 2 = 4 +assert_eq!(b, 5); + + The following APIs are now `const` functions and can be used in a +`const` context. +- `Cell::as_ptr` +
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2019-01-11 14:01:18 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new.28833 (New) Package is "rust" Fri Jan 11 14:01:18 2019 rev:33 rq:663066 version:1.31.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-12-14 20:53:46.240995850 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new.28833/rust.changes 2019-01-11 14:03:05.423944891 +0100 @@ -1,0 +2,8 @@ +Sat Jan 5 10:51:54 UTC 2019 - Luke Jones + +- Update to version 1.31.1 + + Fix Rust failing to build on `powerpc-unknown-netbsd` + + Fix broken go-to-definition in RLS + + Fix infinite loop on hover in RLS + +--- Old: 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 New: rust-1.30.1-aarch64-unknown-linux-gnu.tar.xz rust-1.30.1-arm-unknown-linux-gnueabihf.tar.xz rust-1.30.1-armv7-unknown-linux-gnueabihf.tar.xz rust-1.30.1-i686-unknown-linux-gnu.tar.xz rust-1.30.1-powerpc64-unknown-linux-gnu.tar.xz rust-1.30.1-powerpc64le-unknown-linux-gnu.tar.xz rust-1.30.1-s390x-unknown-linux-gnu.tar.xz rust-1.30.1-x86_64-unknown-linux-gnu.tar.xz rustc-1.31.1-src.tar.xz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.xeAjLg/_old 2019-01-11 14:04:02.467887475 +0100 +++ /var/tmp/diff_new_pack.xeAjLg/_new 2019-01-11 14:04:02.515887427 +0100 @@ -1,7 +1,7 @@ # # spec file for package rust # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 Luke Jones, jones...@protonmail.com # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,7 @@ # -%global prev_rust 1.30.0 +%global prev_rust 1.30.1 # some sub-packages are versioned independantly %global rustfmt_version 1.0.0 %global rls_version 1.31.6 @@ -64,7 +64,7 @@ %bcond_with bundled_llvm %endif Name: rust -Version:1.31.0 +Version:1.31.1 Release:0 Summary:A systems programming language License:MIT OR Apache-2.0 ++ rust-1.30.0-aarch64-unknown-linux-gnu.tar.xz -> rust-1.30.1-aarch64-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.30.0-aarch64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.1-aarch64-unknown-linux-gnu.tar.xz differ: char 27, line 1 ++ rust-1.30.0-arm-unknown-linux-gnueabihf.tar.xz -> rust-1.30.1-arm-unknown-linux-gnueabihf.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.30.0-arm-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.1-arm-unknown-linux-gnueabihf.tar.xz differ: char 27, line 1 ++ rust-1.30.0-armv7-unknown-linux-gnueabihf.tar.xz -> rust-1.30.1-armv7-unknown-linux-gnueabihf.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.30.0-armv7-unknown-linux-gnueabihf.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.1-armv7-unknown-linux-gnueabihf.tar.xz differ: char 27, line 1 ++ rust-1.30.0-i686-unknown-linux-gnu.tar.xz -> rust-1.30.1-i686-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.30.0-i686-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.1-i686-unknown-linux-gnu.tar.xz differ: char 27, line 1 ++ rust-1.30.0-powerpc64-unknown-linux-gnu.tar.xz -> rust-1.30.1-powerpc64-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.30.0-powerpc64-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.1-powerpc64-unknown-linux-gnu.tar.xz differ: char 27, line 1 ++ rust-1.30.0-powerpc64le-unknown-linux-gnu.tar.xz -> rust-1.30.1-powerpc64le-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.30.0-powerpc64le-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.1-powerpc64le-unknown-linux-gnu.tar.xz differ: char 26, line 1 ++ rust-1.30.0-s390x-unknown-linux-gnu.tar.xz -> rust-1.30.1-s390x-unknown-linux-gnu.tar.xz ++ /work/SRC/openSUSE:Factory/rust/rust-1.30.0-s390x-unknown-linux-gnu.tar.xz /work/SRC/openSUSE:Factory/.rust.new.28833/rust-1.30.1-s390x-unknown-linux-gnu.tar.xz differ: char 27, line 1 ++ rust-1.30.0-x86_64-unknown-linux-gnu.tar.xz ->
commit rust for openSUSE:Factory
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.changes2018-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 + +- 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`. +- You can now convert a `` into `Option<>` and ` Option` + into `Option< 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
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-11-18 23:22:54 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Sun Nov 18 23:22:54 2018 rev:31 rq:648811 version:1.30.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-11-13 17:48:19.055731243 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-11-18 23:23:01.470147753 +0100 @@ -1,0 +2,11 @@ +Tue Nov 13 22:56:17 UTC 2018 - Luke Jones + +- Add additional Requires to rls: + + Requires rust-src + + Requires rust-analysis +- Add additional Requires to rustfmt: + + Requires cargo +- Fix rust-src requiring /usr/bin/bash; a script was incorrectly + edited at build time. + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.VRSPXw/_old 2018-11-18 23:23:16.238129725 +0100 +++ /var/tmp/diff_new_pack.VRSPXw/_new 2018-11-18 23:23:16.242129720 +0100 @@ -196,6 +196,8 @@ License:MIT OR Apache-2.0 Group: Development/Languages/Rust Requires: %{name} = %{version} +Requires: %{name}-analysis = %{version} +Requires: %{name}-src = %{version} Provides: rls = %{rls_version} %description -n rls @@ -221,6 +223,7 @@ License:MIT OR Apache-2.0 Group: Development/Languages/Rust Requires: %{name} = %{version} +Requires: cargo = %{version} %if 0%{?suse_version} && 0%{?suse_version} < 1500 # Legacy SUSE-only form Supplements:packageand(%{name}:cargo) @@ -240,7 +243,7 @@ License:MPL-2.0 Group: Development/Languages/Rust Requires: %{name} = %{version} -Requires: cargo +Requires: cargo = %{version} Provides: clippy = %{clippy_version} %description -n clippy @@ -339,14 +342,14 @@ # Fix rpmlint error "This script uses 'env' as an interpreter" sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' src/jemalloc/scripts/gen_travis.py sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' src/libcore/unicode/unicode.py -sed -i '1s|#!%{_bindir}/env bash|#!%{_bindir}/bash|' src/liblibc/ci/emscripten-entry.sh find src/libcompiler_builtins/compiler-rt/lib/ -name '*.py' \ -exec sed -i -e '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' '{}' '+' -# Fix rpmlint warnings about these shell scripts not having a shebang +# Fix rpmlint warnings about these shell scripts not having a shebang or incorrect path sed -i '1s|^|#!/bin/bash\n|' src/libbacktrace/ltmain.sh sed -i '1s|^|#!/bin/bash\n|' src/libcompiler_builtins/ci/run.sh sed -i '1s|^|#!/bin/bash\n|' src/liblibc/ci/run-docker.sh +sed -i '1s|^|#!/bin/bash\n|' src/liblibc/ci/emscripten-entry.sh sed -i '1s|^|#!/bin/bash\n|' src/stdsimd/ci/run-docker.sh %build
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-11-13 16:33:00 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Tue Nov 13 16:33:00 2018 rev:30 rq:648255 version:1.30.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-06-15 14:32:52.457753232 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-11-13 17:48:19.055731243 +0100 @@ -1,0 +2,367 @@ +Sun Nov 11 19:43:09 UTC 2018 - Luke Jones + +- Set the bootstrap flag in the spec file temporarily so that rings + will build rust without intervention. Must be reverted once all + releases are successful. + +--- +Fri Nov 9 06:42:47 UTC 2018 - Luke Jones + +- Add Provides/Obsoletes/Conflicts to rust-std-static and cargo + +--- +Thu Nov 8 01:17:22 UTC 2018 - Neal Gompa + +- Strengthen the dependency on rust-std-static to Requires + to fix crate package builds in OBS +- Use standard form rich dependencies for SUSE Linux 15 and newer + +--- +Tue Nov 6 12:32:37 UTC 2018 - Jan Engelhardt + +- Fix second-person language and spellos. + +--- +Sun Nov 4 22:12:42 UTC 2018 - Luke Jones + +- Add ignore-Wstring-conversion.patch: we require patching of + src/librustc_llvm/build.rs to ignore a flag that + llvm-config --cxxflags outputs which GCC doesn't recognise. +- Default to building using the distro LLVM where the version is + >= 5.0, instead of the Rust bundled LLVM which requires + compilation. This should decrease build times. SLE LLVM is too old. + +--- +Sat Nov 3 23:03:53 UTC 2018 - Luke Jones + +- Fixing various rpmlint warnings and errors: + + ExclusiveArch instead of BuildArch for i686 + + Remove conflicts with same package name + + Remove a few hidden files during prep, does not touch '.clang-format' + + Remove old patch macro in comment + + Fix lint warning about bash and zsh completition files + + Fix various script shebang warnings (incorrect or missing) + + Adjust rpmlintrc to mask some 'invalid' warnings +- Move Rust and its tools in to their own category under: + + Development/Languages/Rust + +--- +Sat Nov 3 07:12:01 UTC 2018 - Luke Jones + +- Jump from version 1.26.2 to 1.30.0 due to a build issue with using 1.26.x to + compile 1.27.x. This package release requires %{rust_bootstrap} to be set. +- Enable extra rust tools to be built (cargo, rls, rustfmt, analysis) ++ cargo is now packaged with the same version number as the rust release, this + may break any packages that relied on a cargo version number. +- Remove ccache and ninja from BuildRequires. +- Switch build configuration to use configure script, remove config.toml. +- Include all bootstraps in source rpm to make bootstrapping easier to manage + within OBS. +- Remove unused patch: update-config-guess.patch +Update to version 1.30.0 (2018-10-25) + + Language +- Procedural macros are now available.- These kinds of macros allow for + more powerful code generation. There is a new chapter available + in the Rust Programming Language book that goes further in depth. +- You can now use keywords as identifiers using the raw identifiers + syntax (`r#`),- e.g. `let r#for = true;` +- Using anonymous parameters in traits is now deprecated with a warning and + will be a hard error in the 2018 edition.- +- You can now use `crate` in paths.- This allows you to refer to the + crate root in the path, e.g. `use crate::foo;` refers to `foo` in `src/lib.rs`. +- Using a external crate no longer requires being prefixed with `::`.- + Previously, using a external crate in a module without a use statement + required `let json = ::serde_json::from_str(foo);` but can now be written + as `let json = serde_json::from_str(foo);`. +- You can now apply the `#[used]` attribute to static items to prevent the + compiler from optimising them away, even if they appear to be unused,- + e.g. `#[used] static FOO: u32 = 1;` +- You can now import and reexport macros from other crates with the `use` + syntax.- Macros exported with `#[macro_export]` are now placed into + the root module of the crate. If your macro relies on calling other local + macros, it is recommended to export with the + `#[macro_export(local_inner_macros)]` attribute so users won't have to import + those macros. +- You can
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-06-15 14:32:45 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Fri Jun 15 14:32:45 2018 rev:29 rq:615102 version:1.26.2 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-06-02 11:49:05.762717196 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-06-15 14:32:52.457753232 +0200 @@ -1,0 +2,16 @@ +Wed Jun 6 10:37:27 UTC 2018 - mman...@outlook.de + +- Update to version 1.26.2: + + Compatibility Notes +- The borrow checker was fixed to avoid unsoundness when using match ergonomics +- Update to version 1.26.1: + + Tools +- RLS now works on Windows +- Rustfmt stopped badly formatting text in some cases + + Compatibility Notes +- `fn main() -> impl Trait` no longer works for non-Termination trait + This reverts an accidental stabilization +- `NaN > NaN` no longer returns true in const-fn contexts +- Prohibit using turbofish for `impl Trait` in method arguments + +--- Old: cargo-0.26.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.26.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.26.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.26.0-i686-unknown-linux-gnu.tar.gz cargo-0.26.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.26.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.26.0-s390x-unknown-linux-gnu.tar.gz cargo-0.26.0-x86_64-unknown-linux-gnu.tar.gz rustc-1.26.0-src.tar.gz New: cargo-0.27.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.27.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.27.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.27.0-i686-unknown-linux-gnu.tar.gz cargo-0.27.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.27.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.27.0-s390x-unknown-linux-gnu.tar.gz cargo-0.27.0-x86_64-unknown-linux-gnu.tar.gz rustc-1.26.2-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.TWlHH7/_old 2018-06-15 14:32:58.677525731 +0200 +++ /var/tmp/diff_new_pack.TWlHH7/_new 2018-06-15 14:32:58.681525585 +0200 @@ -18,7 +18,7 @@ %global prev_rust 1.25.0 -%global cargo_version 0.26.0 +%global cargo_version 0.27.0 %global rust_arch %{_arch} %global abi gnu %ifarch armv7hl @@ -45,7 +45,7 @@ %global rustlibdir %{common_libdir}/rustlib %bcond_with rust_bootstrap Name: rust -Version:1.26.0 +Version:1.26.2 Release:0 Summary:A systems programming language License:MIT OR Apache-2.0 ++ cargo-0.26.0-aarch64-unknown-linux-gnu.tar.gz -> cargo-0.27.0-aarch64-unknown-linux-gnu.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.26.0-aarch64-unknown-linux-gnu/README.md new/cargo-0.27.0-aarch64-unknown-linux-gnu/README.md --- old/cargo-0.26.0-aarch64-unknown-linux-gnu/README.md2018-03-25 18:20:36.0 +0200 +++ new/cargo-0.27.0-aarch64-unknown-linux-gnu/README.md2018-05-07 20:54:00.0 +0200 @@ -29,7 +29,7 @@ First, you'll want to check out this repository ``` -git clone --recursive https://github.com/rust-lang/cargo +git clone https://github.com/rust-lang/cargo cd cargo ``` Binary files old/cargo-0.26.0-aarch64-unknown-linux-gnu/cargo/bin/cargo and new/cargo-0.27.0-aarch64-unknown-linux-gnu/cargo/bin/cargo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.26.0-aarch64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo new/cargo-0.27.0-aarch64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo --- old/cargo-0.26.0-aarch64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo 2018-03-25 18:20:36.0 +0200 +++ new/cargo-0.27.0-aarch64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo 2018-05-07 20:54:00.0 +0200 @@ -1,12 +1,21 @@ command -v cargo >/dev/null 2>&1 && _cargo() { - local cur prev words cword cmd + local cur prev words cword _get_comp_words_by_ref cur prev words cword COMPREPLY=() - cmd=${words[1]} + # Skip past - and + options to find the command. + local nwords=${#words[@]} + local cmd_i cmd + for (( cmd_i=1; cmd_i<$nwords; cmd_i++ )); + do + if [[ ! "${words[$cmd_i]}" =~ ^[+-] ]]; then + cmd="${words[$cmd_i]}" + break + fi + done local vcs='git hg none' local color='auto always never' @@ -57,13 +66,16 @@ local opt__version="$opt_help
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-06-02 11:48:50 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Sat Jun 2 11:48:50 2018 rev:28 rq:606830 version:1.26.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-05-13 15:57:39.658540411 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-06-02 11:49:05.762717196 +0200 @@ -1,0 +2,64 @@ +Sat May 12 00:31:05 UTC 2018 - luc1...@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 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. + +--- Old: cargo-0.25.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.25.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.25.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.25.0-i686-unknown-linux-gnu.tar.gz cargo-0.25.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.25.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.25.0-s390x-unknown-linux-gnu.tar.gz cargo-0.25.0-x86_64-unknown-linux-gnu.tar.gz rustc-1.25.0-src.tar.gz New: cargo-0.26.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.26.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.26.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.26.0-i686-unknown-linux-gnu.tar.gz cargo-0.26.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.26.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.26.0-s390x-unknown-linux-gnu.tar.gz cargo-0.26.0-x86_64-unknown-linux-gnu.tar.gz rustc-1.26.0-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.Zf6mTK/_old 2018-06-02 11:49:14.346402368 +0200 +++ /var/tmp/diff_new_pack.Zf6mTK/_new 2018-06-02 11:49:14.350402221 +0200 @@ -17,8 +17,8 @@ # -%global prev_rust
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-05-13 15:57:30 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Sun May 13 15:57:30 2018 rev:27 rq:606297 version:1.25.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-03-26 12:34:12.583803921 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-05-13 15:57:39.658540411 +0200 @@ -1,0 +2,37 @@ +Thu May 3 08:05:33 UTC 2018 - mman...@outlook.de + +- Patch disabled + * update-config-guess.patch +- Update to 1.25.0 +- Language changes: + + Stabilised `#[repr(align(x))]`.[47006] [RFC 1358] + + You can now use nested groups of imports.[47948] +e.g. `use std::{fs::File, io::Read, path::{Path, PathBuf}};` + + You can now have `|` at the start of a match arm.[47947] e.g. +- Compiler changes: + + Upgraded to LLVM 6.[47828] + + Added `-C lto=val` option.[47521] + + Added `i586-unknown-linux-musl` target[47282] +- Library changes: + + Impl Send for `process::Command` on Unix.[47760] + + Impl PartialEq and Eq for `ParseCharError`.[47790] + + `UnsafeCell::into_inner` is now safe.[47204] + + Implement libstd for CloudABI.[47268] + + `Float::{from_bits, to_bits}` is now available in libcore.[46931] + + Implement `AsRef` for Component[46985] + + Implemented `Write` for `Cursor< Vec>`[46830] + + Moved `Duration` to libcore.[4] +- Stabilized APIs + + `Location::column` + + `ptr::NonNull` +- Misc + + Rust by example is now shipped with new releases[46196] +- Compatibility Notes: + + Deprecated `net::lookup_host`.[47510] + + `rustdoc` has switched to pulldown as the default markdown renderer.[47398] + + The borrow checker was sometimes incorrectly permitting overlapping borrows +around indexing operations (see [#47349][47349]). This has been fixed (which also +enabled some correct code that used to cause errors (e.g. [#33903][33903] and [#46095][46095]). + + Removed deprecated unstable attribute `#[simd]`.[47251] + +--- Old: rustc-1.24.1-src.tar.gz New: rustc-1.25.0-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.cPnAGK/_old 2018-05-13 15:57:56.449927698 +0200 +++ /var/tmp/diff_new_pack.cPnAGK/_new 2018-05-13 15:57:56.453927552 +0200 @@ -17,7 +17,7 @@ # -%global prev_rust 1.24.0 +%global prev_rust 1.24.1 %global cargo_version 0.25.0 %global rust_arch %{_arch} %global abi gnu @@ -45,7 +45,7 @@ %global rustlibdir %{common_libdir}/rustlib %bcond_with rust_bootstrap Name: rust -Version:1.24.1 +Version:1.25.0 Release:0 Summary:A systems programming language License:MIT OR Apache-2.0 @@ -181,7 +181,7 @@ %global cargo_bin %{_builddir}/cargo-%{cargo_version}-%{rust_triple}/cargo/bin/cargo %setup -q -n rustc-%{version}-src -%patch0 -p1 +# %patch0 -p1 sed -e 's::%{cargo_bin}:g' \ -e 's::%{rust_triple}:g' \ -e 's::%{_prefix}:g' \ @@ -262,7 +262,9 @@ %files -n rust-std %dir %{rustlibdir} %dir %{rustlibdir}/%{rust_triple} +%dir %{rustlibdir}/%{rust_triple}/codegen-backends %dir %{rustlibdir}/%{rust_triple}/lib +%{rustlibdir}/%{rust_triple}/codegen-backends/librustc_trans-llvm.so %{rustlibdir}/%{rust_triple}/lib/*.rlib %{rustlibdir}/%{rust_triple}/lib/*.so ++ rustc-1.24.1-src.tar.gz -> rustc-1.25.0-src.tar.gz ++ /work/SRC/openSUSE:Factory/rust/rustc-1.24.1-src.tar.gz /work/SRC/openSUSE:Factory/.rust.new/rustc-1.25.0-src.tar.gz differ: char 12, line 1
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-03-26 12:33:54 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Mon Mar 26 12:33:54 2018 rev:26 rq:590464 version:1.24.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-03-06 10:44:04.959232093 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-03-26 12:34:12.583803921 +0200 @@ -1,0 +2,8 @@ +Thu Mar 22 13:54:53 UTC 2018 - mman...@outlook.de + +- Update to 1.24.1 + + Do not abort when unwinding through FFI + + Make the error index generator work again +- Update Cargo to v0.25.0 + +--- Old: cargo-0.24.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.24.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.24.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.24.0-i686-unknown-linux-gnu.tar.gz cargo-0.24.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.24.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.24.0-s390x-unknown-linux-gnu.tar.gz cargo-0.24.0-x86_64-unknown-linux-gnu.tar.gz rustc-1.24.0-src.tar.gz New: cargo-0.25.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.25.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.25.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.25.0-i686-unknown-linux-gnu.tar.gz cargo-0.25.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.25.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.25.0-s390x-unknown-linux-gnu.tar.gz cargo-0.25.0-x86_64-unknown-linux-gnu.tar.gz rustc-1.24.1-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.g54FeH/_old 2018-03-26 12:34:20.811508491 +0200 +++ /var/tmp/diff_new_pack.g54FeH/_new 2018-03-26 12:34:20.815508348 +0200 @@ -17,8 +17,8 @@ # -%global prev_rust 1.23.0 -%global cargo_version 0.24.0 +%global prev_rust 1.24.0 +%global cargo_version 0.25.0 %global rust_arch %{_arch} %global abi gnu %ifarch armv7hl @@ -45,7 +45,7 @@ %global rustlibdir %{common_libdir}/rustlib %bcond_with rust_bootstrap Name: rust -Version:1.24.0 +Version:1.24.1 Release:0 Summary:A systems programming language License:MIT OR Apache-2.0 ++ cargo-0.24.0-aarch64-unknown-linux-gnu.tar.gz -> cargo-0.25.0-aarch64-unknown-linux-gnu.tar.gz ++ Binary files old/cargo-0.24.0-aarch64-unknown-linux-gnu/cargo/bin/cargo and new/cargo-0.25.0-aarch64-unknown-linux-gnu/cargo/bin/cargo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cargo-0.24.0-aarch64-unknown-linux-gnu/cargo/manifest.in new/cargo-0.25.0-aarch64-unknown-linux-gnu/cargo/manifest.in --- old/cargo-0.24.0-aarch64-unknown-linux-gnu/cargo/manifest.in 2018-01-02 00:19:02.0 +0100 +++ new/cargo-0.25.0-aarch64-unknown-linux-gnu/cargo/manifest.in 2018-02-27 19:03:28.0 +0100 @@ -1,33 +1,33 @@ -file:share/man/man1/cargo-check.1 -file:share/man/man1/cargo-doc.1 -file:share/man/man1/cargo-package.1 +file:share/man/man1/cargo-update.1 file:share/man/man1/cargo-install.1 +file:share/man/man1/cargo-rustdoc.1 +file:share/man/man1/cargo-bench.1 +file:share/man/man1/cargo-test.1 file:share/man/man1/cargo-fetch.1 -file:share/man/man1/cargo-update.1 -file:share/man/man1/cargo-new.1 -file:share/man/man1/cargo-generate-lockfile.1 -file:share/man/man1/cargo-init.1 -file:share/man/man1/cargo-rustc.1 -file:share/man/man1/cargo-clean.1 +file:share/man/man1/cargo-uninstall.1 +file:share/man/man1/cargo-version.1 file:share/man/man1/cargo-metadata.1 -file:share/man/man1/cargo.1 -file:share/man/man1/cargo-bench.1 +file:share/man/man1/cargo-pkgid.1 +file:share/man/man1/cargo-init.1 file:share/man/man1/cargo-yank.1 -file:share/man/man1/cargo-rustdoc.1 +file:share/man/man1/cargo-package.1 file:share/man/man1/cargo-run.1 file:share/man/man1/cargo-publish.1 -file:share/man/man1/cargo-build.1 -file:share/man/man1/cargo-login.1 -file:share/man/man1/cargo-version.1 -file:share/man/man1/cargo-uninstall.1 +file:share/man/man1/cargo-rustc.1 +file:share/man/man1/cargo-generate-lockfile.1 file:share/man/man1/cargo-owner.1 +file:share/man/man1/cargo-login.1 +file:share/man/man1/cargo-build.1 +file:share/man/man1/cargo-clean.1 file:share/man/man1/cargo-search.1 -file:share/man/man1/cargo-test.1 -file:share/man/man1/cargo-pkgid.1 -file:share/zsh/site-functions/_cargo -file:share/doc/cargo/LICENSE-MIT -file:share/doc/cargo/LICENSE-APACHE +file:share/man/man1/cargo-new.1 +file:share/man/man1/cargo-doc.1 +file:share/man/man1/cargo.1 +file:share/man/man1/cargo-check.1 file:share/doc/cargo/README.md +file:share/doc/cargo/LICENSE-APACHE
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-03-06 10:44:03 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Tue Mar 6 10:44:03 2018 rev:25 rq:581963 version:1.24.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-02-23 15:27:53.350660496 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-03-06 10:44:04.959232093 +0100 @@ -1,0 +2,43 @@ +Sat Feb 24 19:26:15 UTC 2018 - mman...@outlook.de + +- Update to 1.24.0 +- Language changes: + + External `sysv64` ffi is now available. +eg. `extern "sysv64" fn foo () {}` +- Compiler changes: + + rustc now uses 16 codegen units by default for release builds. +For the fastest builds, utilize `codegen-units=1`. +- Libraries: + + `str::find::` now uses memchr. This should lead to a 10x +improvement in performance in the majority of cases. + + `time::{SystemTime, Instant}` now implement `Hash`. + + impl `From` for `AtomicBool` + + impl `From<{CString, }>` for `{Arc, Rc}` + + impl `From<{OsString, }>` for `{Arc, Rc}` + + impl `From<{PathBuf, }>` for `{Arc, Rc}` + + float::from_bits now just uses transmute. This provides some +optimisations from LLVM. + + Copied `AsciiExt` methods onto `char` + + Remove `T: Sized` requirement on `ptr::is_null()` + + impl `From` for `{TryRecvError, RecvTimeoutError}` + + Optimised `f32::{min, max}` to generate more efficient x86 +assembly + + `[u8]::contains` now uses memchr which provides a 3x speed +improvement +- Compatibility Notes: + + Floating point types `Debug` impl now always prints a decimal +point. + + `Ipv6Addr` now rejects superfluous `::`'s in IPv6 addresses +This is in accordance with IETF RFC 4291 §2.2. + + Unwinding will no longer go past FFI boundaries, and will +instead abort. + + `Formatter::flags` method is now deprecated. The `sign_plus`, +`sign_minus`, `alternate`, and `sign_aware_zero_pad` should be + used instead. + + Leading zeros in tuple struct members is now an error + + `column!()` macro is one-based instead of zero-based + + `fmt::Arguments` can no longer be shared across threads + + Access to `#[repr(packed)]` struct fields is now unsafe + + Cargo sets a different working directory for the compiler + +--- Old: rustc-1.23.0-src.tar.gz New: rustc-1.24.0-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.wcnor6/_old 2018-03-06 10:44:10.507031653 +0100 +++ /var/tmp/diff_new_pack.wcnor6/_new 2018-03-06 10:44:10.507031653 +0100 @@ -17,7 +17,7 @@ # -%global prev_rust 1.22.1 +%global prev_rust 1.23.0 %global cargo_version 0.24.0 %global rust_arch %{_arch} %global abi gnu @@ -45,7 +45,7 @@ %global rustlibdir %{common_libdir}/rustlib %bcond_with rust_bootstrap Name: rust -Version:1.23.0 +Version:1.24.0 Release:0 Summary:A systems programming language License:MIT OR Apache-2.0 ++ rustc-1.23.0-src.tar.gz -> rustc-1.24.0-src.tar.gz ++ /work/SRC/openSUSE:Factory/rust/rustc-1.23.0-src.tar.gz /work/SRC/openSUSE:Factory/.rust.new/rustc-1.24.0-src.tar.gz differ: char 12, line 1
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-02-23 15:27:51 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Fri Feb 23 15:27:51 2018 rev:24 rq:578149 version:1.23.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-01-26 13:35:13.761261308 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-02-23 15:27:53.350660496 +0100 @@ -1,0 +2,7 @@ +Mon Feb 19 06:26:41 UTC 2018 - co...@suse.com + +- add update-config-guess.patch to update config.* from GNU to + support riscv64 without rpm patching it - as the patch also + updates the checksums while rpm does not + +--- New: update-config-guess.patch Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.4osNAa/_old 2018-02-23 15:27:56.490547060 +0100 +++ /var/tmp/diff_new_pack.4osNAa/_new 2018-02-23 15:27:56.494546915 +0100 @@ -62,6 +62,7 @@ Source105: cargo-%{cargo_version}-powerpc64-unknown-linux-gnu.tar.gz Source106: cargo-%{cargo_version}-powerpc64le-unknown-linux-gnu.tar.gz Source107: cargo-%{cargo_version}-s390x-unknown-linux-gnu.tar.gz +Patch0: update-config-guess.patch # PATCH-FIX-OPENSUSE: Set DT_SONAME when building dylibs BuildRequires: ccache BuildRequires: cmake >= 3.4.3 @@ -180,6 +181,7 @@ %global cargo_bin %{_builddir}/cargo-%{cargo_version}-%{rust_triple}/cargo/bin/cargo %setup -q -n rustc-%{version}-src +%patch0 -p1 sed -e 's::%{cargo_bin}:g' \ -e 's::%{rust_triple}:g' \ -e 's::%{_prefix}:g' \ ++ update-config-guess.patch ++ 11350 lines (skipped)
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-01-26 13:35:07 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Fri Jan 26 13:35:07 2018 rev:23 rq:568813 version:1.23.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2018-01-16 09:36:04.303378800 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-01-26 13:35:13.761261308 +0100 @@ -1,0 +2,20 @@ +Tue Jan 23 09:18:27 UTC 2018 - tchva...@suse.com + +- Format with spec-cleaner +- Use python3 to run the install/build script as python2 is being + phased out +- State exclusivearch for all of ix86 and then specify we build as + i686 which is bit more obvious + +--- +Mon Jan 22 11:21:42 UTC 2018 - mman...@outlook.de + +- Update Cargo to v0.24.0 + +--- +Mon Jan 22 07:01:51 UTC 2018 - jones...@protonmail.com + +- Add "Requires: %{name} to derived packages to fix derived + packages not being updated with rust (boo#1075883) + +--- Old: cargo-0.23.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.23.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.23.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.23.0-i686-unknown-linux-gnu.tar.gz cargo-0.23.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.23.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.23.0-s390x-unknown-linux-gnu.tar.gz cargo-0.23.0-x86_64-unknown-linux-gnu.tar.gz New: cargo-0.24.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.24.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.24.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.24.0-i686-unknown-linux-gnu.tar.gz cargo-0.24.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.24.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.24.0-s390x-unknown-linux-gnu.tar.gz cargo-0.24.0-x86_64-unknown-linux-gnu.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.dJWM92/_old 2018-01-26 13:35:18.577036373 +0100 +++ /var/tmp/diff_new_pack.dJWM92/_new 2018-01-26 13:35:18.577036373 +0100 @@ -18,9 +18,7 @@ %global prev_rust 1.22.1 -%global cargo_version 0.23.0 -%bcond_with rust_bootstrap - +%global cargo_version 0.24.0 %global rust_arch %{_arch} %global abi gnu %ifarch armv7hl @@ -38,20 +36,19 @@ %global rust_arch powerpc64le %endif # Must restrict the x86 build to i686 since i586 is currently unsupported -%ifarch %ix86 +%ifarch %{ix86} %global rust_arch i686 %endif %global rust_triple %{rust_arch}-unknown-linux-%{abi} - %global dl_url https://static.rust-lang.org/dist %global common_libdir %{_prefix}/lib %global rustlibdir %{common_libdir}/rustlib - +%bcond_with rust_bootstrap Name: rust Version:1.23.0 Release:0 Summary:A systems programming language -License:MIT or Apache-2.0 +License:MIT OR Apache-2.0 Group: Development/Languages/Other Url:http://www.rust-lang.org Source0:%{dl_url}/rustc-%{version}-src.tar.gz @@ -69,31 +66,23 @@ BuildRequires: ccache BuildRequires: cmake >= 3.4.3 BuildRequires: curl +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: llvm-devel BuildRequires: ninja BuildRequires: procps -BuildRequires: python -Recommends: cargo +BuildRequires: python3-base Recommends: %{name}-doc Recommends: %{name}-std - -Conflicts: otherproviders(rust) +Recommends: cargo Conflicts: rustc-bootstrap - -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Conflicts: rust # 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 -%ifarch %ix86 -ExclusiveArch: i586 i686 +ExclusiveArch: x86_64 %{arm} aarch64 ppc64 ppc64le s390x %{ix86} +%ifarch %{ix86} BuildArch: i686 %endif - -%if 0%{?suse_version} -BuildRequires: fdupes -%endif - %if %{with rust_bootstrap} BuildRequires: rust-std-bootstrap = %{prev_rust} BuildRequires: rustc-bootstrap = %{prev_rust} @@ -122,7 +111,8 @@ %package -n rust-std Summary:Standard library for Rust Group: Development/Languages/Other -Conflicts: otherproviders(rust-std) +Requires: %{name} = %{version} +Conflicts: rust-std %description -n rust-std This package includes the standard libraries for building @@ -131,7 +121,8 @@ %package -n rust-doc Summary:Rust documentation Group: Development/Languages/Other -Conflicts: otherproviders(rust-doc) +Requires:
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2018-01-16 09:36:02 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Tue Jan 16 09:36:02 2018 rev:22 rq:561774 version:1.23.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-11-30 12:43:41.681619727 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2018-01-16 09:36:04.303378800 +0100 @@ -1,0 +2,43 @@ +Thu Jan 4 21:20:36 UTC 2018 - jones...@protonmail.com + +- Update to 1.23.0 +- Language changes: + + Arbitrary `auto` traits are now permitted in trait objects.[45772] + + rustc now uses subtyping on the left hand side of binary operations.[45435] +Which should fix some confusing errors in some operations. +- Compiler changes: + + Enabled `TrapUnreachable` in LLVM which should mitigate the impact of +undefined behaviour.[45920] + + rustc now suggests renaming import if names clash.[45660] + + Display errors/warnings correctly when there are zero-width or +wide characters.[45711] + + rustc now avoids unnecessary copies of arguments that are +simple bindings[45380] This should improve memory usage on average by 5-10%. + + Updated musl used to build musl rustc to 1.1.17[45393] +- Library changes: + + Allow a trailing comma in `assert_eq/ne` macro[45887] + + Implement Hash for raw pointers to unsized types[45483] + + impl `From<*mut T>` for `AtomicPtr`[45610] + + impl `From` for `AtomicUsize/AtomicIsize`.[45610] + + Removed the `T: Sync` requirement for `RwLock: Send`[45267] + + Removed `T: Sized` requirement for `{<*const T>, <*mut T>}::as_ref` +an `<*mut T>::as_mut`[44932] + + Optimized `Thread::{park, unpark}` implementation[45524] + + Improved `SliceExt::binary_search` performance.[45333] + + impl `FromIterator<()>` for `()`[45379] + + Copied `AsciiExt` trait methods to primitive types.[44042] Use of `AsciiExt` +is now deprecated. +- Misc changes: + + Releases now ship with the Cargo book documentation.[45692] + + rustdoc now prints rendering warnings on every run.[45324] + + Release tarballs now come with rustfmt[45903] +- Compatibility Notes: + + Changes have been made to type equality to make it more correct, +in rare cases this could break some code.[45853] [Tracking issue for +further information[45852] + + `char::escape_debug` now uses Unicode 10 over 9.[45571] + + Upgraded Android SDK to 27, and NDK to r15c.[45580] This drops support for +Android 9, the minimum supported version is Android 14. + + Bumped the minimum LLVM to 3.9[45326] + +--- Old: rustc-1.22.1-src.tar.gz New: rustc-1.23.0-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.kKkfYV/_old 2018-01-16 09:36:13.794934704 +0100 +++ /var/tmp/diff_new_pack.kKkfYV/_new 2018-01-16 09:36:13.798934516 +0100 @@ -1,7 +1,7 @@ # # spec file for package rust # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 Luke Jones, luke.nukem.jo...@gmail.com # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,7 @@ # -%global prev_rust 1.21.0 +%global prev_rust 1.22.1 %global cargo_version 0.23.0 %bcond_with rust_bootstrap @@ -48,7 +48,7 @@ %global rustlibdir %{common_libdir}/rustlib Name: rust -Version:1.22.1 +Version:1.23.0 Release:0 Summary:A systems programming language License:MIT or Apache-2.0 ++ rustc-1.22.1-src.tar.gz -> rustc-1.23.0-src.tar.gz ++ /work/SRC/openSUSE:Factory/rust/rustc-1.22.1-src.tar.gz /work/SRC/openSUSE:Factory/.rust.new/rustc-1.23.0-src.tar.gz differ: char 12, line 1
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-11-30 12:42:28 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Thu Nov 30 12:42:28 2017 rev:21 rq:545594 version:1.22.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-10-25 17:44:10.932818098 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-11-30 12:43:41.681619727 +0100 @@ -1,0 +2,44 @@ +Sat Nov 25 09:54:46 UTC 2017 - mman...@outlook.de + +- Update to v1.22.1 +- Update Cargo to fix an issue with macOS 10.13 "High Sierra" + +--- +Thu Nov 23 00:27:24 UTC 2017 - jones...@protonmail.com + +- Update to v1.22.0 +- Language changes: + + `non_snake_case` lint now allows extern no-mangle functions + + Now accepts underscores in unicode escapes + + `T op= ` now works for numeric types. eg. `let mut x = 2; x += &8;` + + types that impl `Drop` are now allowed in `const` and `static` types +- Compiler changes: + + rustc now defaults to having 16 codegen units at debug on supported platforms + + rustc will no longer inline in codegen units when compiling for debug +This should decrease compile times for debug builds. + + strict memory alignment now enabled on ARMv6 + + Remove support for the PNaCl target `le32-unknown-nacl` +- Librarie changes + + Allow atomic operations up to 32 bits +on `armv5te_unknown_linux_gnueabi` + + `Box` now impls `From` + + `std::mem::Discriminant` is now guaranteed to be `Send + Sync` + + `fs::copy` now returns the length of the main stream on NTFS. + + Properly detect overflow in `Instant += Duration`. + + impl `Hasher` for `{ Hasher, Box}` + + impl `fmt::Debug` for `SplitWhitespace`.][44303] + + `Option` now impls `Try`. This allows for using `?` with `Option` types. +- Misc + + `libbacktrace` is now available on Apple platforms. + + Stabilised the `compile_fail` attribute for code fences in doc-comments. +This now lets you specify that a given code example will fail to compile. +- Compatibility Notes + + The minimum Android version that rustc can build for has been bumped +to `4.0` from `2.3` + + Allowing `T op= ` for numeric types has broken some type inference cases + +- Remove rust-1.21.0-44203-exclude-compiler-rt-test.patch +- Remove rust-1.21.0-44066-ppc64-struct-abi.patch +- Remove rust-1.21.0-0-s390x-global-align.patch + +--- Old: cargo-0.22.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.22.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.22.0-i686-unknown-linux-gnu.tar.gz cargo-0.22.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.22.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.22.0-s390x-unknown-linux-gnu.tar.gz cargo-0.22.0-x86_64-unknown-linux-gnu.tar.gz rust-1.21.0-44066-ppc64-struct-abi.patch rust-1.21.0-44203-exclude-compiler-rt-test.patch rust-1.21.0-0-s390x-global-align.patch rustc-1.21.0-src.tar.gz New: cargo-0.23.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.23.0-arm-unknown-linux-gnueabihf.tar.gz cargo-0.23.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.23.0-i686-unknown-linux-gnu.tar.gz cargo-0.23.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.23.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.23.0-s390x-unknown-linux-gnu.tar.gz cargo-0.23.0-x86_64-unknown-linux-gnu.tar.gz rustc-1.22.1-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.LnHBIe/_old 2017-11-30 12:43:45.141493942 +0100 +++ /var/tmp/diff_new_pack.LnHBIe/_new 2017-11-30 12:43:45.149493651 +0100 @@ -17,8 +17,8 @@ # -%global prev_rust 1.20.0 -%global cargo_version 0.22.0 +%global prev_rust 1.21.0 +%global cargo_version 0.23.0 %bcond_with rust_bootstrap %global rust_arch %{_arch} @@ -27,6 +27,10 @@ %global rust_arch armv7 %global abi gnueabihf %endif +%ifarch armv6hl +%global rust_arch arm +%global abi gnueabihf +%endif %ifarch ppc64 %global rust_arch powerpc64 %endif @@ -44,7 +48,7 @@ %global rustlibdir %{common_libdir}/rustlib Name: rust -Version:1.21.0 +Version:1.22.1 Release:0 Summary:A systems programming language License:MIT or Apache-2.0 @@ -57,13 +61,11 @@ Source101: cargo-%{cargo_version}-i686-unknown-linux-gnu.tar.gz Source102: cargo-%{cargo_version}-aarch64-unknown-linux-gnu.tar.gz Source103: cargo-%{cargo_version}-armv7-unknown-linux-gnueabihf.tar.gz -Source104: cargo-%{cargo_version}-powerpc64-unknown-linux-gnu.tar.gz -Source105: cargo-%{cargo_version}-powerpc64le-unknown-linux-gnu.tar.gz
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-10-25 18:25:14 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Wed Oct 25 18:25:14 2017 rev:20 rq: version:1.21.0 Changes: Old: _aggregate Other differences: --
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-10-25 18:23:24 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Wed Oct 25 18:23:24 2017 rev:19 rq: version:1.21.0 Changes: New: _aggregate Other differences: -- ++ _aggregate ++ rust
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-10-25 17:44:04 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Wed Oct 25 17:44:04 2017 rev:18 rq:535331 version:1.21.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-09-21 12:36:52.906069207 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-10-25 17:44:10.932818098 +0200 @@ -1,0 +2,40 @@ +Thu Oct 19 05:46:50 UTC 2017 - luke.nukem.jo...@gmail.com + +- Large cleanup of both the spec and config.toml to correct many + build issues for the new version + +--- +Wed Oct 18 03:43:11 UTC 2017 - luke.nukem.jo...@gmail.com + +- Add rust-1.21.0-44203-exclude-compiler-rt-test.patch +- Add rust-1.21.0-44066-ppc64-struct-abi.patch +- Add rust-1.21.0-0-s390x-global-align.patch +- Remove add-soname.patch + +--- +Tue Oct 17 22:53:28 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to 1.21.0 +- Language changes: + + You can now use static references for literals. + + Relaxed path syntax. Optional `::` before `<` is now allowed in all contexts. +- Compiler changes: + + Upgraded jemalloc to 4.5.0[43911] + + Enabled unwinding panics on Redox[43917] + + Now runs LLVM in parallel during translation phase.[43506] +- Librarie changes: + + Generate builtin impls for `Clone` for all arrays and tuples that + are `T: Clone`[43690] + +`Stdin`, `Stdout`, and `Stderr` now implement `AsRawFd`.[43459] + + `Rc` and `Arc` now implement `From<&[T]> where T: Clone`, `From`, + `From`, `Fromwhere T: ?Sized`, and `From `.[42565] +- Stabilized APIs + +`std::mem::discriminant` +- Update add-soname.patch to apply cleanly + +--- +Sat Sep 23 00:29:39 UTC 2017 - luke.nukem.jo...@gmail.com + +- Force enable rust bootstrap so that missing architectures build + +--- Old: add-soname.patch cargo-0.21.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.21.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.21.0-i686-unknown-linux-gnu.tar.gz cargo-0.21.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.21.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.21.0-s390x-unknown-linux-gnu.tar.gz cargo-0.21.0-x86_64-unknown-linux-gnu.tar.gz rustc-1.20.0-src.tar.gz New: cargo-0.22.0-aarch64-unknown-linux-gnu.tar.gz cargo-0.22.0-armv7-unknown-linux-gnueabihf.tar.gz cargo-0.22.0-i686-unknown-linux-gnu.tar.gz cargo-0.22.0-powerpc64-unknown-linux-gnu.tar.gz cargo-0.22.0-powerpc64le-unknown-linux-gnu.tar.gz cargo-0.22.0-s390x-unknown-linux-gnu.tar.gz cargo-0.22.0-x86_64-unknown-linux-gnu.tar.gz rust-1.21.0-44066-ppc64-struct-abi.patch rust-1.21.0-44203-exclude-compiler-rt-test.patch rust-1.21.0-0-s390x-global-align.patch rustc-1.21.0-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.oqvr0H/_old 2017-10-25 17:44:20.872351608 +0200 +++ /var/tmp/diff_new_pack.oqvr0H/_new 2017-10-25 17:44:20.872351608 +0200 @@ -17,8 +17,9 @@ # -%global prev_rust 1.19.0 -%global cargo_version 0.21.0 +%global prev_rust 1.20.0 +%global cargo_version 0.22.0 +%bcond_with rust_bootstrap %global rust_arch %{_arch} %global abi gnu @@ -32,14 +33,18 @@ %ifarch ppc64le %global rust_arch powerpc64le %endif +# Must restrict the x86 build to i686 since i586 is currently unsupported +%ifarch %ix86 +%global rust_arch i686 +%endif %global rust_triple %{rust_arch}-unknown-linux-%{abi} %global dl_url https://static.rust-lang.org/dist %global common_libdir %{_prefix}/lib %global rustlibdir %{common_libdir}/rustlib -%bcond_with bootstrap + Name: rust -Version:1.20.0 +Version:1.21.0 Release:0 Summary:A systems programming language License:MIT or Apache-2.0 @@ -56,9 +61,10 @@ Source105: cargo-%{cargo_version}-powerpc64le-unknown-linux-gnu.tar.gz Source106: cargo-%{cargo_version}-s390x-unknown-linux-gnu.tar.gz # PATCH-FIX-OPENSUSE: Set DT_SONAME when building dylibs -Patch1: add-soname.patch +Patch1: rust-1.21.0-44203-exclude-compiler-rt-test.patch +Patch2: rust-1.21.0-44066-ppc64-struct-abi.patch +Patch3: rust-1.21.0-0-s390x-global-align.patch BuildRequires: ccache -BuildRequires: chrpath BuildRequires: cmake >= 3.4.3 BuildRequires: curl BuildRequires: gcc-c++ @@ -70,7 +76,6 @@ Recommends: %{name}-doc Recommends: %{name}-std -Provides: rust = %{version}
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-09-21 12:35:40 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Thu Sep 21 12:35:40 2017 rev:17 rq:527616 version:1.20.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-09-05 15:19:08.776125302 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-09-21 12:36:52.906069207 +0200 @@ -1,0 +2,5 @@ +Wed Sep 20 08:06:35 UTC 2017 - opens...@dstoecker.de + +- set minimum cmake version + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.45xqYv/_old 2017-09-21 12:36:55.649683123 +0200 +++ /var/tmp/diff_new_pack.45xqYv/_new 2017-09-21 12:36:55.653682560 +0200 @@ -59,7 +59,7 @@ Patch1: add-soname.patch BuildRequires: ccache BuildRequires: chrpath -BuildRequires: cmake +BuildRequires: cmake >= 3.4.3 BuildRequires: curl BuildRequires: gcc-c++ BuildRequires: llvm-devel
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-09-04 12:39:25 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Mon Sep 4 12:39:25 2017 rev:15 rq:520550 version:1.19.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-07-19 11:20:00.689110568 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-09-04 12:39:26.877128600 +0200 @@ -1,0 +2,70 @@ +Fri Sep 1 10:14:10 UTC 2017 - luke.nukem.jo...@gmail.com + +- adjust build process and add package for Rust source +- clean-up of useless provides +- add rpmlintrc + +--- +Tue Aug 8 23:06:44 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to version 1.19 + +- Language updates: + + [Numeric fields can now be used for creating tuple structs.][41145] [RFC 1506] +For example `struct Point(u32, u32); let x = Point { 0: 7, 1: 0 };`. + + [Macro recursion limit increased to 1024 from 64.][41676] + + [Added lint for detecting unused macros.][41907] + + [`loop` can now return a value with `break`.][42016] [RFC 1624] +For example: `let x = loop { break 7; };` + + [C compatible `union`s are now available.][42068] [RFC 1444] They can only +contain `Copy` types and cannot have a `Drop` implementation. +Example: `union Foo { bar: u8, baz: usize }` + + [Non capturing closures can now be coerced into `fn`s,][42162] [RFC 1558] +Example: `let foo: fn(u8) -> u8 = |v: u8| { v };` + +- Compiler updates: + + [Add support for bootstrapping the Rust compiler toolchain on Android.][41370] + + [Change `arm-linux-androideabi` to correspond to the `armeabi` +official ABI.][41656] If you wish to continue targeting the `armeabi-v7a` ABI +you should use `--target armv7-linux-androideabi`. + + [Fixed ICE when removing a source file between compilation sessions.][41873] + + [Minor optimisation of string operations.][42037] + + [Compiler error message is now `aborting due to previous error(s)` instead of +`aborting due to N previous errors`][42150] This was previously inaccurate and +would only count certain kinds of errors. + + [The compiler now supports Visual Studio 2017][42225] + + [The compiler is now built against LLVM 4.0.1 by default][42948] + + [Added a lot][42264] of [new error codes][42302] + + [Added `target-feature=+crt-static` option][37406] [RFC 1721] Which allows +libraries with C Run-time Libraries(CRT) to be statically linked. + + [Fixed various ARM codegen bugs][42740] + +- Librarie updates: + + [`String` now implements `FromIterator>` and +`Extend >`][41449] + + [`Vec` now implements `From< [T]>`][41530] + + [`Box<[u8]>` now implements `From `][41258] + + [`SplitWhitespace` now implements `Clone`][41659] + + [`[u8]::reverse` is now 5x faster and `[u16]::reverse` is now +1.5x faster][41764] + + [`eprint!` and `eprintln!` macros added to prelude.][41192] Same as the `print!` +macros, but for printing to stderr. + +- Stabilized APIs + + [`OsString::shrink_to_fit`] + + [`cmp::Reverse`] + + [`Command::envs`] + + [`thread::ThreadId`] + +- Misc + + [Added `rust-windbg.cmd`][39983] for loading rust `.natvis` files in the +Windows Debugger. + + [Rust will now release XZ compressed packages][rust-installer/57] + + [rustup will now prefer to download rust packages with +XZ compression][rustup/1100] over GZip packages. + + [Added the ability to escape `#` in rust documentation][41785] By adding +additional `#`'s ie. `##` is now `#` + +- Temporarily disable generation of compiler docs due to build issue + +--- Old: rustc-1.18.0-src.tar.gz New: rust-rpmlintrc rustc-1.19.0-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.Vk1JWe/_old 2017-09-04 12:39:30.720587860 +0200 +++ /var/tmp/diff_new_pack.Vk1JWe/_new 2017-09-04 12:39:30.724587298 +0200 @@ -17,7 +17,7 @@ # -%global prev_rust 1.17.0 +%global prev_rust 1.18.0 %global cargo_version 0.18.0 %global abi gnu %ifarch s390x @@ -44,9 +44,11 @@ %endif %global rust_triple %{_arch}-unknown-linux-%{abi} %global dl_url https://static.rust-lang.org/dist +%global common_libdir %{_prefix}/lib +%global rustlibdir %{common_libdir}/rustlib %bcond_with bootstrap Name: rust -Version:1.18.0 +Version:1.19.0 Release:0 Summary:A systems programming language License:MIT or Apache-2.0 @@ -54,6 +56,7 @@ Url:http://www.rust-lang.org Source0:
commit rust for openSUSE:Factory
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.changes2017-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 - luke.nukem.jo...@gmail.com + +- 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 - luke.nukem.jo...@gmail.com + +- 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 `<'a> Tr<'a> + Send` as + `&(for<'a> Tr<'a> + Send)` instead of `(<'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
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-06-01 16:29:50 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Thu Jun 1 16:29:50 2017 rev:13 rq:494001 version:1.17.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-03-17 15:07:42.488010654 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-06-01 16:29:57.094667419 +0200 @@ -1,0 +2,129 @@ +Wed May 10 07:09:13 UTC 2017 - luke.nukem.jo...@gmail.com + +- Adjustment of rust version dependency to prevent inability to + build in the adi rings. + +--- +Sun Apr 30 04:48:19 UTC 2017 - luke.nukem.jo...@gmail.com + +- Add the cargo binaries for each arch, used for building rust only + these are not shipped, and don't factor in to the final product. + +--- +Fri Apr 28 01:24:18 UTC 2017 - luke.nukem.jo...@gmail.com + +- Revert restriction of x86 arch to i586 for the interim. + +--- +Fri Apr 28 01:04:09 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to 1.17.0 +- Language updates +* [The compiler's `dead_code` lint now accounts for type aliases][38051]. +* [Uninhabitable enums (those without any variants) no longer permit wildcard + match patterns][38069] +* [Clean up semantics of `self` in an import list][38313] +* [`Self` may appear in `impl` headers][38920] +* [`Self` may appear in struct expressions][39282] + +- Compiler updates +* [`rustc` now supports `--emit=metadata`, which causes rustc to emit + a `.rmeta` file containing only crate metadata][38571]. This can be + used by tools like the Rust Language Service to perform + metadata-only builds. +* [Levenshtein based typo suggestions now work in most places, while + previously they worked only for fields and sometimes for local + variables][38927]. Together with the overhaul of "no + resolution"/"unexpected resolution" errors (#[38154]) they result in + large and systematic improvement in resolution diagnostics. +* [Fix `transmute::` where `T` requires a bigger alignment than + `U`][38670] +* [rustc: use -Xlinker when specifying an rpath with ',' in it][38798] +* [`rustc` no longer attempts to provide "consider using an explicit + lifetime" suggestions][37057]. They were inaccurate. + +- Stabilized APIs +* [`VecDeque::truncate`] +* [`VecDeque::resize`] +* [`String::insert_str`] +* [`Duration::checked_add`] +* [`Duration::checked_sub`] +* [`Duration::checked_div`] +* [`Duration::checked_mul`] +* [`str::replacen`] +* [`str::repeat`] +* [`SocketAddr::is_ipv4`] +* [`SocketAddr::is_ipv6`] +* [`IpAddr::is_ipv4`] +* [`IpAddr::is_ipv6`] +* [`Vec::dedup_by`] +* [`Vec::dedup_by_key`] +* [`Result::unwrap_or_default`] +* [`<*const T>::wrapping_offset`] +* [`<*mut T>::wrapping_offset`] +* `CommandExt::creation_flags` +* [`File::set_permissions`] +* [`String::split_off`] + +- Updates to libraries +* [`[T]::binary_search` and `[T]::binary_search_by_key` now take + their argument by `Borrow` parameter][37761] +* [All public types in std implement `Debug`][38006] +* [`IpAddr` implements `From` and `From`][38327] +* [`Ipv6Addr` implements `From<[u16; 8]>`][38131] +* [Ctrl-Z returns from `Stdin.read()` when reading from the console on + Windows][38274] +* [std: Fix partial writes in `LineWriter`][38062] +* [std: Clamp max read/write sizes on Unix][38062] +* [Use more specific panic message for `` slicing errors][38066] +* [`TcpListener::set_only_v6` is deprecated][38304]. This + functionality cannot be achieved in std currently. +* [`writeln!`, like `println!`, now accepts a form with no string + or formatting arguments, to just print a newline][38469] +* [Implement `iter::Sum` and `iter::Product` for `Result`][38580] +* [Reduce the size of static data in `std_unicode::tables`][38781] +* [`char::EscapeDebug`, `EscapeDefault`, `EscapeUnicode`, + `CaseMappingIter`, `ToLowercase`, `ToUppercase`, implement + `Display`][38909] +* [`Duration` implements `Sum`][38712] +* [`String` implements `ToSocketAddrs`][39048] + +- Misc +* [`rustdoc` has a `--sysroot` argument that, like `rustc`, specifies + the path to the Rust implementation][38589] +* [The `armv7-linux-androideabi` target no longer enables NEON + extensions, per Google's ABI guide][38413] +* [The stock standard library can be compiled for Redox OS][38401] +* [Rust has initial
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-03-17 15:07:41 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Fri Mar 17 15:07:41 2017 rev:12 rq:480770 version:1.16.0 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-03-16 09:51:29.654138532 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-03-17 15:07:42.488010654 +0100 @@ -1,0 +2,98 @@ +Fri Mar 17 05:59:18 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to 1.16.0 + +- Language updates +* Lifetimes in statics and consts default to `'static`. [RFC 1623] +* [The compiler's `dead_code` lint now accounts for type aliases][38051]. +* [Uninhabitable enums (those without any variants) no longer permit wildcard + match patterns][38069] +* [Clean up semantics of `self` in an import list][38313] +* [`Self` may appear in `impl` headers][38920] +* [`Self` may appear in struct expressions][39282] + +- Compiler updates +* [`rustc` now supports `--emit=metadata`, which causes rustc to emit + a `.rmeta` file containing only crate metadata][38571]. This can be + used by tools like the Rust Language Service to perform + metadata-only builds. +* [Levenshtein based typo suggestions now work in most places, while + previously they worked only for fields and sometimes for local + variables][38927]. Together with the overhaul of "no + resolution"/"unexpected resolution" errors (#[38154]) they result in + large and systematic improvement in resolution diagnostics. +* [Fix `transmute::` where `T` requires a bigger alignment than + `U`][38670] +* [rustc: use -Xlinker when specifying an rpath with ',' in it][38798] +* [`rustc` no longer attempts to provide "consider using an explicit + lifetime" suggestions][37057]. They were inaccurate. + +- Stabilized APIs +* [`VecDeque::truncate`] +* [`VecDeque::resize`] +* [`String::insert_str`] +* [`Duration::checked_add`] +* [`Duration::checked_sub`] +* [`Duration::checked_div`] +* [`Duration::checked_mul`] +* [`str::replacen`] +* [`str::repeat`] +* [`SocketAddr::is_ipv4`] +* [`SocketAddr::is_ipv6`] +* [`IpAddr::is_ipv4`] +* [`IpAddr::is_ipv6`] +* [`Vec::dedup_by`] +* [`Vec::dedup_by_key`] +* [`Result::unwrap_or_default`] +* [`<*const T>::wrapping_offset`] +* [`<*mut T>::wrapping_offset`] +* `CommandExt::creation_flags` +* [`File::set_permissions`] +* [`String::split_off`] + +- Library updates +* [`[T]::binary_search` and `[T]::binary_search_by_key` now take + their argument by `Borrow` parameter][37761] +* [All public types in std implement `Debug`][38006] +* [`IpAddr` implements `From` and `From`][38327] +* [`Ipv6Addr` implements `From<[u16; 8]>`][38131] +* [Ctrl-Z returns from `Stdin.read()` when reading from the console on + Windows][38274] +* [std: Fix partial writes in `LineWriter`][38062] +* [std: Clamp max read/write sizes on Unix][38062] +* [Use more specific panic message for `` slicing errors][38066] +* [`TcpListener::set_only_v6` is deprecated][38304]. This + functionality cannot be achieved in std currently. +* [`writeln!`, like `println!`, now accepts a form with no string + or formatting arguments, to just print a newline][38469] +* [Implement `iter::Sum` and `iter::Product` for `Result`][38580] +* [Reduce the size of static data in `std_unicode::tables`][38781] +* [`char::EscapeDebug`, `EscapeDefault`, `EscapeUnicode`, + `CaseMappingIter`, `ToLowercase`, `ToUppercase`, implement + `Display`][38909] +* [`Duration` implements `Sum`][38712] +* [`String` implements `ToSocketAddrs`][39048] + +- Misc fixes +* [`rustdoc` has a `--sysroot` argument that, like `rustc`, specifies + the path to the Rust implementation][38589] +* [The `armv7-linux-androideabi` target no longer enables NEON + extensions, per Google's ABI guide][38413] +* [The stock standard library can be compiled for Redox OS][38401] +* [Rust has initial SPARC support][38726]. Tier 3. No builds + available. +* [Rust has experimental support for Nvidia PTX][38559]. Tier 3. No + builds available. +* [Fix backtraces on i686-pc-windows-gnu by disabling FPO][39379] + +- Compatibility notes +* [Uninhabitable enums (those without any variants) no longer permit wildcard + match patterns][38069] +* In this release, references to uninhabited types can not be + pattern-matched. This was accidentally allowed in 1.15. +* [The compiler's `dead_code` lint now accounts for type aliases][38051]. +* [Ctrl-Z
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-03-16 09:42:23 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Thu Mar 16 09:42:23 2017 rev:11 rq:479367 version:1.15.1 Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-02-25 00:53:56.244982901 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-03-16 09:51:29.654138532 +0100 @@ -1,0 +2,6 @@ +Mon Mar 13 10:14:21 UTC 2017 - dims...@opensuse.org + +- Remove duplicate license files from _docdir: rpm 4.13 no longer + implicitly packages those files and we catch them using %license, + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.EluF6H/_old 2017-03-16 09:51:30.673994102 +0100 +++ /var/tmp/diff_new_pack.EluF6H/_new 2017-03-16 09:51:30.673994102 +0100 @@ -169,6 +169,9 @@ sed -e '/*\//q' src/libbacktrace/backtrace.h \ >src/libbacktrace/LICENSE-libbacktrace +# Remvove the license files from _docdir: make install put duplicates there +rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT} + %if 0%{?suse_version} %fdupes %{buildroot}%{_prefix} %endif
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-02-25 00:53:55 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-02-16 17:06:13.349901428 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-02-25 00:53:56.244982901 +0100 @@ -1,0 +2,6 @@ +Thu Feb 23 07:36:17 UTC 2017 - b...@suse.com + +- remove bootstrap for s390x as binaries are available in + openSUSE:Factory:zSystems + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.KLMVeX/_old 2017-02-25 00:53:58.164688355 +0100 +++ /var/tmp/diff_new_pack.KLMVeX/_new 2017-02-25 00:53:58.172687128 +0100 @@ -19,6 +19,9 @@ %global prev_version 1.14.0 %global abi gnu +%ifarch s390x +%global _arch s390x +%endif %ifarch armv7hl %global _arch armv7 %global abi gnueabihf @@ -70,10 +73,6 @@ BuildRequires: fdupes %endif -%ifarch s390x -BuildRequires: cargo-bootstrap -BuildRequires: rustc-bootstrap >= %{prev_version} -%else # There are no successful builds for less than TW or Leap 42.2, so bootstrap # until such time that there is. %if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120100) @@ -83,7 +82,6 @@ BuildRequires: cargo BuildRequires: rust >= %{prev_version} %endif -%endif %description Rust is a systems programming language focused on three goals:
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-02-16 17:06:12 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-02-13 22:26:32.080810517 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-02-16 17:06:13.349901428 +0100 @@ -1,0 +2,5 @@ +Wed Feb 15 05:58:35 UTC 2017 - luke.nukem.jo...@gmail.com + +- Fixes to build for archs armv7, aarch64, ppc64, s390x + +--- Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.uNls9H/_old 2017-02-16 17:06:14.357758822 +0100 +++ /var/tmp/diff_new_pack.uNls9H/_new 2017-02-16 17:06:14.365757690 +0100 @@ -62,17 +62,21 @@ Provides: rustc = %{version} Provides: rustc-stable = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build +# Restrict the architectures as building rust relies on being initially +# bootstrapped before we can build the n+1 release ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x %if 0%{?suse_version} BuildRequires: fdupes %endif -%ifarch %{arm} aarch64 ppc64 ppc64le s390x +%ifarch s390x BuildRequires: cargo-bootstrap BuildRequires: rustc-bootstrap >= %{prev_version} %else -%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} < 120300) +# There are no successful builds for less than TW or Leap 42.2, so bootstrap +# until such time that there is. +%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120100) BuildRequires: cargo-bootstrap BuildRequires: rustc-bootstrap >= %{prev_version} %else ++ _constraints ++ --- /var/tmp/diff_new_pack.uNls9H/_old 2017-02-16 17:06:14.417750333 +0100 +++ /var/tmp/diff_new_pack.uNls9H/_new 2017-02-16 17:06:14.421749768 +0100 @@ -6,7 +6,7 @@ 4 - 40 + 20
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-02-13 22:26:31 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2017-02-03 20:01:03.492558763 +0100 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-02-13 22:26:32.080810517 +0100 @@ -1,0 +2,59 @@ +Sat Feb 11 05:31:34 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to 1.15.1 +- Fix IntoIter::as_mut_slice's signature + +--- +Mon Feb 6 09:05:39 UTC 2017 - luke.nukem.jo...@gmail.com + +- Correct rust-triples use in spec. + +--- +Mon Feb 6 08:25:17 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to 1.15.0 + +- Language updates + * Basic procedural macros allowing custom `#[derive]`, aka "macros 1.1", are + stable. This allows popular code-generating crates like Serde and Diesel to + work ergonomically. [RFC 1681]. + * [Tuple structs may be empty. Unary and empty tuple structs may be instantiated + with curly braces][36868]. Part of [RFC 1506]. + * [A number of minor changes to name resolution have been activated][37127]. + They add up to more consistent semantics, allowing for future evolution of + Rust macros. Specified in [RFC 1560], see its section on ["changes"] for + details of what is different. The breaking changes here have been transitioned + through the [`legacy_imports`] lint since 1.14, with no known regressions. + * [In `macro_rules`, `path` fragments can now be parsed as type parameter + bounds][38279] + * [`?Sized` can be used in `where` clauses][37791] + * [There is now a limit on the size of monomorphized types and it can be + modified with the `#![type_size_limit]` crate attribute, similarly to + the `#![recursion_limit]` attribute][37789] + +- Compiler changes + * [On Windows, the compiler will apply dllimport attributes when linking to + extern functions][37973]. Additional attributes and flags can control which + library kind is linked and its name. [RFC 1717]. + * [Rust-ABI symbols are no longer exported from cdylibs][38117] + * [The `--test` flag works with procedural macro crates][38107] + * [Fix `extern "aapcs" fn` ABI][37814] + * [The `-C no-stack-check` flag is deprecated][37636]. It does nothing. + * [The `format!` expander recognizes incorrect `printf` and shell-style + formatting directives and suggests the correct format][37613]. + * [Only report one error for all unused imports in an import list][37456] + +- Compiler performance + * [Avoid unnecessary `mk_ty` calls in `Ty::super_fold_with`][37705] + * [Avoid more unnecessary `mk_ty` calls in `Ty::super_fold_with`][37979] + * [Don't clone in `UnificationTable::probe`][37848] + * [Remove `scope_auxiliary` to cut RSS by 10%][37764] + * [Use small vectors in type walker][37760] + * [Macro expansion performance was improved][37701] + * [Change `HirVec` to `HirVec` in `hir::Expr`][37642] + * [Replace FNV with a faster hash function][37229] + +- For full change list, please see + https://raw.githubusercontent.com/rust-lang/rust/master/RELEASES.md + +--- Old: _aggregate rustc-1.14.0-src.tar.gz New: config.toml rustc-1.15.1-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.kPlwdI/_old 2017-02-13 22:26:35.024393349 +0100 +++ /var/tmp/diff_new_pack.kPlwdI/_new 2017-02-13 22:26:35.028392783 +0100 @@ -2,6 +2,7 @@ # spec file for package rust # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 Luke Jones, luke.nukem.jo...@gmail.com # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,54 +17,68 @@ # -%global prev_version 1.13.0 +%global prev_version 1.14.0 +%global abi gnu +%ifarch armv7hl +%global _arch armv7 +%global abi gnueabihf +%endif +%ifarch ppc64 +%global _arch powerpc64 +%endif +%ifarch ppc64le +%global _arch powerpc64le +%endif +%ifarch x86_64 +%global _arch x86_64 +%endif +%ifarch %{ix86} +%global _arch i586 +%endif +%global rust_triple %{_arch}-unknown-linux-%{abi} %bcond_with bootstrap Name: rust -Version:1.14.0 +Version:1.15.1 Release:0 Summary:A systems programming language
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-02-12 13:35:44 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: Other differences: -- ++ _aggregate ++ --- /var/tmp/diff_new_pack.KRA7Ng/_old 2017-02-12 13:35:46.862244854 +0100 +++ /var/tmp/diff_new_pack.KRA7Ng/_new 2017-02-12 13:35:46.862244854 +0100 @@ -1,6 +1,6 @@ rust - +
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-02-12 13:33:12 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: New: _aggregate Other differences: -- ++ _aggregate ++ rust
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-02-12 13:33:03 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: Old: _aggregate Other differences: --
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-02-12 13:14:56 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: New: _aggregate Other differences: -- ++ _aggregate ++ rust
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2017-02-01 09:53:40 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: --- /work/SRC/openSUSE:Factory/rust/rust.changes2016-09-20 13:25:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2017-02-03 20:01:03.492558763 +0100 @@ -1,0 +2,93 @@ +Tue Jan 31 09:41:33 UTC 2017 - luke.nukem.jo...@gmail.com + +- Adjust build so that aarch and ARM architectures use bootstrap for + initial build + +--- +Tue Jan 31 04:25:06 UTC 2017 - luke.nukem.jo...@gmail.com + +- Fix provides/conflicts/obsoletes + +--- +Fri Dec 23 08:22:26 UTC 2016 - luke.nukem.jo...@gmail.com + +- Remove patch 0001-Fix-armv7-autodetection.patch ++ appears to have been fixed upstream. +- Building armv7hl arch with bootstrap binary since previously + packaged versions haven't successfully built in the past + +--- +Fri Dec 23 07:57:24 UTC 2016 - luke.nukem.jo...@gmail.com + +- Update to version 1.14.0 ++ Announcement: https://blog.rust-lang.org/2016/12/22/Rust-1.14.html ++ Details: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1140-2016-12-22 +- Release highlights: ++ support for RFC 1492. This small addition lets you use `..` +in more places, for example when destructuring a struct or tuple ++ println!(), with no arguments, prints newline ++ Wrapping impls standard binary and unary operators on +references, as well as the Sum and Product iterators, making +references to these types easier to use ++ Implement Fromfor String and From > for +Vec. These implementations make sense, but were not yet added. ++ Expand .zip() specialization to .map() and .cloned() for +improved performance. ++ Implement RefUnwindSafe for atomic types, as these types are +“unwind safe,” though that wasn’t obvious at first. ++ Specialize Vec::extend to Vec::extend_from_slice for +performance gains. ++ Don’t reuse HashMap random seeds. This helps to mitigate one +type of DDoS attack. ++ The internal memory layout of HashMap is more cache-friendly, +for significant improvements in some operations ++ Impl Add<{str, Cow}> for Cow. We already support Add +for other string types, so not having it on Cow is inconsistent. + +--- +Sun Dec 18 09:27:44 UTC 2016 - luke.nukem.jo...@gmail.com + +- Update to 1.13.0 + +--- +Sun Dec 18 09:03:52 UTC 2016 - luke.nukem.jo...@gmail.com + +- Add conflicts to help avoid situations where previous versions + or rustc-bootstrap may be installed + +--- +Sun Dec 18 02:41:25 UTC 2016 - luke.nukem.jo...@gmail.com + +- Update to 1.12.1 +- Remove patches: ++ 0003-Disable-embedding-timestamp-information.patch - fixed + by upstream ++ 0002-Add-armv6l-autodetection.patch - no-longer viable + +--- +Fri Dec 16 23:27:42 UTC 2016 - luke.nukem.jo...@gmail.com + +- Revert from v1.13 to v1.11 in preparation for alternative + packaging. + +--- +Wed Nov 2 08:42:44 UTC 2016 - matwey.korni...@gmail.com + +- Add 0001-Fix-armv7-autodetection.patch +- Add 0002-Add-armv6l-autodetection.patch + * fix armv6 and armv7 builds + +--- +Tue Sep 20 11:46:53 UTC 2016 - kgronl...@suse.com + +- Update to 1.11 + + Add support for cdylib crate types + +- Remove merged patches: + * 0001-Fix-misleading-intentation-errors-on-gcc-6.0.patch + * 0002-Fix-GCC-6-misleading-indentation-error-in-hoedown.patch + +- Set DT_SONAME when building dylibs + * Add add-soname.patch + +--- Old: 0001-Fix-misleading-intentation-errors-on-gcc-6.0.patch 0002-Fix-GCC-6-misleading-indentation-error-in-hoedown.patch 0003-Disable-embedding-timestamp-information.patch rustc-1.10.0-src.tar.gz New: add-soname.patch rustc-1.14.0-src.tar.gz Other differences: -- ++ rust.spec ++ --- /var/tmp/diff_new_pack.2VJ2ZS/_old 2017-02-03 20:01:05.504275607 +0100 +++ /var/tmp/diff_new_pack.2VJ2ZS/_new 2017-02-03 20:01:05.508275044 +0100 @@ -1,7 +1,7 @@ # # spec file for
commit rust for openSUSE:Factory
Hello community, here is the log from the commit of package rust for openSUSE:Factory checked in at 2016-09-20 13:25:50 Comparing /work/SRC/openSUSE:Factory/rust (Old) and /work/SRC/openSUSE:Factory/.rust.new (New) Package is "rust" Changes: New Changes file: --- /dev/null 2016-09-15 12:42:18.240042505 +0200 +++ /work/SRC/openSUSE:Factory/.rust.new/rust.changes 2016-09-20 13:25:51.0 +0200 @@ -0,0 +1,238 @@ +--- +Tue Sep 6 06:35:03 UTC 2016 - kgronl...@suse.com + +- Move to package named rust + +--- +Thu Aug 4 19:41:56 UTC 2016 - mvysko...@opensuse.org + +- Update to 1.10 ++ -C panic=abort flag for rustc or equivalent in Cargo.toml ++ new crate type cdylib, embeded library for other languages ++ In addition, a number of performance improvements landed in + the compiler, and so did a number of usability improvements + across the documentation, rustdoc itself, and various error + messages. ++ This is the first release, which is guaranteed to be built +by previous stable release of rustc +- Packaging: ++ drop bootstrap mode and use rustc 1.9 ++ move documentation to versioned directory + +--- +Sun Jul 31 15:03:38 UTC 2016 - jeng...@inai.de + +- Use smp_mflags for parallel building. Avoid sh invocation for + simple ldconfig calls. Drop archaic %clean section. + Drop filler words from summary. + +--- +Tue Jul 26 13:34:17 UTC 2016 - kgronl...@suse.com + +- Rename source package to rustc-1_9 to conform to naming standards. + +--- +Tue Jul 12 05:57:11 UTC 2016 - mvysko...@opensuse.org + +- Rename source package to rustc-190 to avoid unecessary rebuilds + of rustc packages on upgrade + +--- +Wed Jul 6 11:11:50 UTC 2016 - kgronl...@suse.com + +- Move stage0 binaries into separate package +- Disable embedding timestamp information +- Add 0003-Disable-embedding-timestamp-information.patch + +--- +Tue Jun 28 12:43:26 UTC 2016 - kgronl...@suse.com + +- Rename package to rustc-stable +- Add rpmlintrc +- Make bootstrapping conditional + +--- +Mon Jun 27 15:40:53 UTC 2016 - kgronl...@suse.com + +- Fix misleading indentation errors on GCC 6.0 +- Remove snap2.sh +- Add 0001-Fix-misleading-intentation-errors-on-gcc-6.0.patch +- Add 0002-Fix-GCC-6-misleading-indentation-error-in-hoedown.patch + +--- +Mon May 30 09:15:21 UTC 2016 - mvysko...@opensuse.org + +- Update to version 1.9.0 ++ Stabilization of std::panic ++ Deprecation warnings, #[deprecated] attribute ++ Compile time improvements ++ Rolling out use of specialization ++ Library stabilizations + About 80 library functions and methods are now stable in 1. ++ http://blog.rust-lang.org/2016/05/26/Rust-1.9.html + +--- +Fri Apr 15 19:39:18 UTC 2016 - mvysko...@opensuse.org + +- Update to version 1.8.0: ++ Various “operator equals” operators, such as += and -=, are now + overloadable via various traits. ++ Empty struct declaration can contain cutly braces ++ New (non default) cargo based build system for rustc ++ About 20 library functions and methods are now stable in 1.8 + +--- +Fri Mar 4 16:10:07 UTC 2016 - kgronl...@suse.com + +- Update to version 1.7.0: ++ Many stabilized APIs ++ Improved library performance ++ BTreeSet and its iterators, Iter, IntoIter, and Range are covariant over their contained type. ++ LinkedList and its iterators, Iter and IntoIter are covariant over their contained type. ++ str::replace now accepts a Pattern, like other string searching methods. ++ Any is implemented for unsized types. ++ Hash is implemented for Duration. ++ Soundness fixes, may break code. See RFC 1214 for more information. ++ Several bugs in the compiler's visibility calculations were fixed. ++ Parsing "." as a float results in an error instead of 0. ++ Borrows of closure parameters may not outlive the closure. + +--- +Thu Jan 20 19:28:34 UTC 2016 - i...@xuzhao.net + +- Update to version 1.6.0: ++ Stabilization of libcore and other library functions ++ Crates.io disallows wildcards +