diff --git a/ignore-Wstring-conversion.patch b/ignore-Wstring-conversion.patch index ec94974..385998c 100644 --- a/ignore-Wstring-conversion.patch +++ b/ignore-Wstring-conversion.patch @@ -1,8 +1,8 @@ -Index: rustc-1.46.0-src/src/librustc_llvm/build.rs +Index: rustc-1.47.0-src/src/librustc_llvm/build.rs =================================================================== ---- 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() { +--- rustc-1.47.0-src.orig/src/librustc_llvm/build.rs ++++ rustc-1.47.0-src/src/librustc_llvm/build.rs +@@ -157,6 +157,12 @@ fn main() { continue; } diff --git a/rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz b/rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz deleted file mode 100644 index 6766ea5..0000000 --- a/rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index dda27f0..0000000 --- a/rust-1.45.2-armv7-unknown-linux-gnueabihf.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index dcd4b6c..0000000 --- a/rust-1.45.2-i686-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 0987856..0000000 --- a/rust-1.45.2-powerpc-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 864cb64..0000000 --- a/rust-1.45.2-powerpc64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 0e1cff9..0000000 --- a/rust-1.45.2-powerpc64le-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 19aee05..0000000 --- a/rust-1.45.2-s390x-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index c3131e6..0000000 --- a/rust-1.45.2-x86_64-unknown-linux-gnu.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39455d1ebd6f386e50748f566e1b37780f236c1f3cbc869690653662beca1ea9 -size 118135364 diff --git a/rust-1.46.0-aarch64-unknown-linux-gnu.tar.xz b/rust-1.46.0-aarch64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..8cc2a09 --- /dev/null +++ b/rust-1.46.0-aarch64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81146b6942665db5588f7b52ff0b2fbb7208dfe3d6ebd6cf9016e1cf1d487475 +size 127384736 diff --git a/rust-1.46.0-armv7-unknown-linux-gnueabihf.tar.xz b/rust-1.46.0-armv7-unknown-linux-gnueabihf.tar.xz new file mode 100644 index 0000000..7d2bd71 --- /dev/null +++ b/rust-1.46.0-armv7-unknown-linux-gnueabihf.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f48b7484353fc9e653969f4d58e6c74988696807716a01f839fe12c4f10c2d5 +size 123912836 diff --git a/rust-1.46.0-i686-unknown-linux-gnu.tar.xz b/rust-1.46.0-i686-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..4d15b8c --- /dev/null +++ b/rust-1.46.0-i686-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3aa34286c7fc308c174b6f315995f41126ee63d3be78b340171f4f06b606dce +size 141319800 diff --git a/rust-1.46.0-powerpc-unknown-linux-gnu.tar.xz b/rust-1.46.0-powerpc-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..9e49367 --- /dev/null +++ b/rust-1.46.0-powerpc-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9938ac73efa45ec4468861891bac1ac33d20a79406a2a5f1baa5be606cd2321 +size 111495200 diff --git a/rust-1.46.0-powerpc64-unknown-linux-gnu.tar.xz b/rust-1.46.0-powerpc64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..b1fa63c --- /dev/null +++ b/rust-1.46.0-powerpc64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38dda3de218b229c15619b94ca0add6115daf5320298a50c0b3a50c49ab7647c +size 124882812 diff --git a/rust-1.46.0-powerpc64le-unknown-linux-gnu.tar.xz b/rust-1.46.0-powerpc64le-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..b1f42b8 --- /dev/null +++ b/rust-1.46.0-powerpc64le-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efc67459bf78e0cdc719ba8ffbd0a3c9644111fabe0f93e7e8a898cc3dfcde42 +size 130200900 diff --git a/rust-1.46.0-s390x-unknown-linux-gnu.tar.xz b/rust-1.46.0-s390x-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..282c550 --- /dev/null +++ b/rust-1.46.0-s390x-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6da8542cdc71ca7bc2de8ac9529404d4de754e50e4bdd350b1ff3f1e769f9079 +size 134521076 diff --git a/rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz b/rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..9225317 --- /dev/null +++ b/rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9877249e71f13775661feb9f5c922c094bfd87ba8a3f2b41532fa56b8a44b70e +size 127200200 diff --git a/rust.changes b/rust.changes index e17d252..ad785fc 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,68 @@ +------------------------------------------------------------------- +Sun Oct 11 22:43:36 UTC 2020 - William Brown + +- Update to version 1.47.0 + + Language + - [Closures will now warn when not used.][74869] + + Compiler + - [Stabilized the `-C control-flow-guard` codegen option][73893], which enables + [Control Flow Guard][1.47.0-cfg] for Windows platforms, and is ignored on other + platforms. + - [Upgraded to LLVM 11.][73526] + - [Added tier 3\* support for the `thumbv4t-none-eabi` target.][74419] + - [Upgrade the FreeBSD toolchain to version 11.4][75204] + - [`RUST_BACKTRACE`'s output is now more compact.][75048] + \* Refer to Rust's [platform support page][forge-platform-support] for more + information on Rust's tiered platform support. + + Libraries + - [`CStr` now implements `Index>`.][74021] + - [Traits in `std`/`core` are now implemented for arrays of any length, not just + those of length less than 33.][74060] + - [`ops::RangeFull` and `ops::Range` now implement Default.][73197] + - [`panic::Location` now implements `Copy`, `Clone`, `Eq`, `Hash`, `Ord`, + `PartialEq`, and `PartialOrd`.][73583] + + Stabilized APIs + - [`Ident::new_raw`] + - [`Range::is_empty`] + - [`RangeInclusive::is_empty`] + - [`Result::as_deref`] + - [`Result::as_deref_mut`] + - [`Vec::leak`] + - [`pointer::offset_from`] + - [`f32::TAU`] + - [`f64::TAU`] + The following previously stable APIs have now been made const. + - [The `new` method for all `NonZero` integers.][73858] + - [The `checked_add`,`checked_sub`,`checked_mul`,`checked_neg`, `checked_shl`, + `checked_shr`, `saturating_add`, `saturating_sub`, and `saturating_mul` + methods for all integers.][73858] + - [The `checked_abs`, `saturating_abs`, `saturating_neg`, and `signum` for all + signed integers.][73858] + - [The `is_ascii_alphabetic`, `is_ascii_uppercase`, `is_ascii_lowercase`, + `is_ascii_alphanumeric`, `is_ascii_digit`, `is_ascii_hexdigit`, + `is_ascii_punctuation`, `is_ascii_graphic`, `is_ascii_whitespace`, and + `is_ascii_control` methods for `char` and `u8`.][73858] + + Cargo + - [`build-dependencies` are now built with opt-level 0 by default.][cargo/8500] + You can override this by setting the following in your `Cargo.toml`. + ```toml + [profile.release.build-override] + opt-level = 3 + ``` + - [`cargo-help` will now display man pages for commands rather just the + `--help` text.][cargo/8456] + - [`cargo-metadata` now emits a `test` field indicating if a target has + tests enabled.][cargo/8478] + - [`workspace.default-members` now respects `workspace.exclude`.][cargo/8485] + - [`cargo-publish` will now use an alternative registry by default if it's the + only registry specified in `package.publish`.][cargo/8571] + + Misc + - [Added a help button beside Rustdoc's searchbar that explains rustdoc's + type based search.][75366] + - [Added the Ayu theme to rustdoc.][71237] +- Rebased patches: + + ignore-Wstring-conversion.patch (offset / fuzz) + ------------------------------------------------------------------- Sat Oct 10 00:26:02 UTC 2020 - William Brown diff --git a/rust.spec b/rust.spec index fbdbd91..fc8cac1 100644 --- a/rust.spec +++ b/rust.spec @@ -17,9 +17,9 @@ # -%global version_current 1.46.0 -%global version_previous 1.45.2 -%global version_bootstrap 1.45.2 +%global version_current 1.47.0 +%global version_previous 1.46.0 +%global version_bootstrap 1.46.0 # some sub-packages are versioned independently %global rustfmt_version 1.4.21 @@ -428,8 +428,8 @@ find vendor -name .cargo-checksum.json \ -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/printable.py -chmod +x src/libcore/unicode/printable.py +sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' library/core/src/unicode/printable.py +chmod +x library/core/src/unicode/printable.py %build %define _lto_cflags %{nil} @@ -579,6 +579,7 @@ rm -rf %{buildroot}/home %{rustlibdir}%{_sysconfdir}/gdb_load_rust_pretty_printers.py %{rustlibdir}%{_sysconfdir}/gdb_lookup.py %{rustlibdir}%{_sysconfdir}/gdb_providers.py +%{rustlibdir}%{_sysconfdir}/lldb_commands %{rustlibdir}%{_sysconfdir}/lldb_lookup.py %{rustlibdir}%{_sysconfdir}/lldb_providers.py %{rustlibdir}%{_sysconfdir}/rust_types.py diff --git a/rustc-1.46.0-src.tar.xz b/rustc-1.46.0-src.tar.xz deleted file mode 100644 index 42f9929..0000000 --- a/rustc-1.46.0-src.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:865dae1290a205f16ded8818c6a0254cc32862985fc250a602a70285b7d92b82 -size 101868452 diff --git a/rustc-1.47.0-src.tar.xz b/rustc-1.47.0-src.tar.xz new file mode 100644 index 0000000..b462189 --- /dev/null +++ b/rustc-1.47.0-src.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec2c81d2d34890486094a6407589be96161e4e301c238332d32c6dbae4f38ea2 +size 104143736