Accepting request 841108 from home:firstyear:branches:devel:languages:rust

- 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<RangeFrom<usize>>`.][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`]

OBS-URL: https://build.opensuse.org/request/show/841108
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=267
This commit is contained in:
Neal Gompa 2020-10-27 22:13:16 +00:00 committed by Git OBS Bridge
parent a31c8f45ab
commit f332e4370a
21 changed files with 102 additions and 36 deletions

View File

@ -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;
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7e8e3a93b42b261e90cddb084116035daede1cdda0754c805a00c5d3a397440
size 110433136

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a20c1062da5f9a78b491697bcecb8c123ba887c95c79f2a0af05f46d77f7e352
size 116516572

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42c25bea5c6dc35e89c65217477880aa52ee95b85271192f7e6833c80f3761f0
size 131555580

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c098139b5b2edf43407b6cb1e754afac59af685b8cf9304f8aabda62d56442a
size 104037748

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b604a56150cc0cf0a1c7ccbf0ffeafcdc3e73fd6cac9924b66b735ebf2b5b94
size 114778460

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a24580fcb1ae0ff6c698f1901ccca0341fc7ea72258b54f664288793ed9ca7b
size 118941136

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0790ae97534e5b407c38d985154ea5e6088f896fbb52d5d57a24a6cc70c24b65
size 125144128

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39455d1ebd6f386e50748f566e1b37780f236c1f3cbc869690653662beca1ea9
size 118135364

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81146b6942665db5588f7b52ff0b2fbb7208dfe3d6ebd6cf9016e1cf1d487475
size 127384736

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5f48b7484353fc9e653969f4d58e6c74988696807716a01f839fe12c4f10c2d5
size 123912836

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3aa34286c7fc308c174b6f315995f41126ee63d3be78b340171f4f06b606dce
size 141319800

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9938ac73efa45ec4468861891bac1ac33d20a79406a2a5f1baa5be606cd2321
size 111495200

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38dda3de218b229c15619b94ca0add6115daf5320298a50c0b3a50c49ab7647c
size 124882812

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efc67459bf78e0cdc719ba8ffbd0a3c9644111fabe0f93e7e8a898cc3dfcde42
size 130200900

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6da8542cdc71ca7bc2de8ac9529404d4de754e50e4bdd350b1ff3f1e769f9079
size 134521076

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9877249e71f13775661feb9f5c922c094bfd87ba8a3f2b41532fa56b8a44b70e
size 127200200

View File

@ -1,3 +1,68 @@
-------------------------------------------------------------------
Sun Oct 11 22:43:36 UTC 2020 - William Brown <william.brown@suse.com>
- 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<RangeFrom<usize>>`.][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 <william.brown@suse.com>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:865dae1290a205f16ded8818c6a0254cc32862985fc250a602a70285b7d92b82
size 101868452

3
rustc-1.47.0-src.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec2c81d2d34890486094a6407589be96161e4e301c238332d32c6dbae4f38ea2
size 104143736