diff --git a/ignore-Wstring-conversion.patch b/ignore-Wstring-conversion.patch index 39483df..ec94974 100644 --- a/ignore-Wstring-conversion.patch +++ b/ignore-Wstring-conversion.patch @@ -1,8 +1,8 @@ -Index: rustc-1.44.1-src/src/librustc_llvm/build.rs +Index: rustc-1.46.0-src/src/librustc_llvm/build.rs =================================================================== ---- rustc-1.44.1-src.orig/src/librustc_llvm/build.rs -+++ rustc-1.44.1-src/src/librustc_llvm/build.rs -@@ -145,6 +145,12 @@ fn main() { +--- rustc-1.46.0-src.orig/src/librustc_llvm/build.rs ++++ rustc-1.46.0-src/src/librustc_llvm/build.rs +@@ -146,6 +146,12 @@ fn main() { continue; } diff --git a/rust-1.44.1-aarch64-unknown-linux-gnu.tar.xz b/rust-1.44.1-aarch64-unknown-linux-gnu.tar.xz deleted file mode 100644 index 073af46..0000000 --- a/rust-1.44.1-aarch64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:149e4d34ac86b9e7ac6c079ddcf19f68dacdccb4230916245187b0ebb8706fba -size 101259004 diff --git a/rust-1.44.1-armv7-unknown-linux-gnueabihf.tar.xz b/rust-1.44.1-armv7-unknown-linux-gnueabihf.tar.xz deleted file mode 100644 index fbad03c..0000000 --- a/rust-1.44.1-armv7-unknown-linux-gnueabihf.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1e997c82efd3a3d4ed9e17a4ce031df2cef289d70a8819dfabd75b589a4884c4 -size 109724880 diff --git a/rust-1.44.1-i686-unknown-linux-gnu.tar.xz b/rust-1.44.1-i686-unknown-linux-gnu.tar.xz deleted file mode 100644 index 09f306b..0000000 --- a/rust-1.44.1-i686-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b66841e041174bcefcfed9110cf787eae62ff8c07438b6bb081b832a2419513 -size 124915068 diff --git a/rust-1.44.1-powerpc-unknown-linux-gnu.tar.xz b/rust-1.44.1-powerpc-unknown-linux-gnu.tar.xz deleted file mode 100644 index c8cc1e9..0000000 --- a/rust-1.44.1-powerpc-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a7ef865f4e401b645ef437f08510ba66c39a0ce0a8baef7a405e0bede9bfc4d -size 97722508 diff --git a/rust-1.44.1-powerpc64-unknown-linux-gnu.tar.xz b/rust-1.44.1-powerpc64-unknown-linux-gnu.tar.xz deleted file mode 100644 index cdaef06..0000000 --- a/rust-1.44.1-powerpc64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2fe16c599479e708973fd9be3a835ac439b21a95af56a05e0a31bd6e3726436b -size 107393564 diff --git a/rust-1.44.1-powerpc64le-unknown-linux-gnu.tar.xz b/rust-1.44.1-powerpc64le-unknown-linux-gnu.tar.xz deleted file mode 100644 index 2b66feb..0000000 --- a/rust-1.44.1-powerpc64le-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c1fd01540148de00ddbd5603d702d31d34af38057bd3b92145e555267b1caeae -size 112429740 diff --git a/rust-1.44.1-s390x-unknown-linux-gnu.tar.xz b/rust-1.44.1-s390x-unknown-linux-gnu.tar.xz deleted file mode 100644 index f4d64bf..0000000 --- a/rust-1.44.1-s390x-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b608b6a22f55be420469eb5432ec814504d294cf89af7576581b1dc9016061aa -size 119312728 diff --git a/rust-1.44.1-x86_64-unknown-linux-gnu.tar.xz b/rust-1.44.1-x86_64-unknown-linux-gnu.tar.xz deleted file mode 100644 index e78c60c..0000000 --- a/rust-1.44.1-x86_64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa813a36f9ed0b9886c9555140e9163f565c532e541a28f8bd69288f7e4f0ff5 -size 112133992 diff --git a/rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz b/rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..6766ea5 --- /dev/null +++ b/rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7e8e3a93b42b261e90cddb084116035daede1cdda0754c805a00c5d3a397440 +size 110433136 diff --git a/rust-1.45.2-armv7-unknown-linux-gnueabihf.tar.xz b/rust-1.45.2-armv7-unknown-linux-gnueabihf.tar.xz new file mode 100644 index 0000000..dda27f0 --- /dev/null +++ b/rust-1.45.2-armv7-unknown-linux-gnueabihf.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a20c1062da5f9a78b491697bcecb8c123ba887c95c79f2a0af05f46d77f7e352 +size 116516572 diff --git a/rust-1.45.2-i686-unknown-linux-gnu.tar.xz b/rust-1.45.2-i686-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..dcd4b6c --- /dev/null +++ b/rust-1.45.2-i686-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42c25bea5c6dc35e89c65217477880aa52ee95b85271192f7e6833c80f3761f0 +size 131555580 diff --git a/rust-1.45.2-powerpc-unknown-linux-gnu.tar.xz b/rust-1.45.2-powerpc-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..0987856 --- /dev/null +++ b/rust-1.45.2-powerpc-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c098139b5b2edf43407b6cb1e754afac59af685b8cf9304f8aabda62d56442a +size 104037748 diff --git a/rust-1.45.2-powerpc64-unknown-linux-gnu.tar.xz b/rust-1.45.2-powerpc64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..864cb64 --- /dev/null +++ b/rust-1.45.2-powerpc64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b604a56150cc0cf0a1c7ccbf0ffeafcdc3e73fd6cac9924b66b735ebf2b5b94 +size 114778460 diff --git a/rust-1.45.2-powerpc64le-unknown-linux-gnu.tar.xz b/rust-1.45.2-powerpc64le-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..0e1cff9 --- /dev/null +++ b/rust-1.45.2-powerpc64le-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a24580fcb1ae0ff6c698f1901ccca0341fc7ea72258b54f664288793ed9ca7b +size 118941136 diff --git a/rust-1.45.2-s390x-unknown-linux-gnu.tar.xz b/rust-1.45.2-s390x-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..19aee05 --- /dev/null +++ b/rust-1.45.2-s390x-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0790ae97534e5b407c38d985154ea5e6088f896fbb52d5d57a24a6cc70c24b65 +size 125144128 diff --git a/rust-1.45.2-x86_64-unknown-linux-gnu.tar.xz b/rust-1.45.2-x86_64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..c3131e6 --- /dev/null +++ b/rust-1.45.2-x86_64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39455d1ebd6f386e50748f566e1b37780f236c1f3cbc869690653662beca1ea9 +size 118135364 diff --git a/rust.changes b/rust.changes index 980ad68..e17d252 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +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 `&mut [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-packaging@opensuse.org + +- Rebased patches: + + ignore-Wstring-conversion.patch (offset / fuzz) + ------------------------------------------------------------------- Thu Sep 3 03:09:46 UTC 2020 - William Brown diff --git a/rust.spec b/rust.spec index d93d477..fbdbd91 100644 --- a/rust.spec +++ b/rust.spec @@ -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 @@ rm -rf %{buildroot}/home %{_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 +%{rustlibdir}%{_sysconfdir}/lldb_providers.py +%{rustlibdir}%{_sysconfdir}/rust_types.py %files -n rust-doc %dir %{_docdir}/%{name} diff --git a/rustc-1.45.2-src.tar.xz b/rustc-1.45.2-src.tar.xz deleted file mode 100644 index 41dd12a..0000000 --- a/rustc-1.45.2-src.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f8412adac2f5d974b2f06c5bd4be7361084d18a678d098bf05de5ccfa57b74a9 -size 98683036 diff --git a/rustc-1.46.0-src.tar.xz b/rustc-1.46.0-src.tar.xz new file mode 100644 index 0000000..42f9929 --- /dev/null +++ b/rustc-1.46.0-src.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:865dae1290a205f16ded8818c6a0254cc32862985fc250a602a70285b7d92b82 +size 101868452