Accepting request 790670 from home:alarrosa:branches:devel:languages:rust

OBS-URL: https://build.opensuse.org/request/show/790670
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=245
This commit is contained in:
Federico Mena Quintero 2020-04-01 17:53:48 +00:00 committed by Git OBS Bridge
parent 4ea0df818b
commit bb50254aff
21 changed files with 93 additions and 35 deletions

View File

@ -1,8 +1,8 @@
Index: rustc-1.39.0-src/src/librustc_llvm/build.rs
Index: rustc-1.42.0-src/src/librustc_llvm/build.rs
===================================================================
--- rustc-1.39.0-src.orig/src/librustc_llvm/build.rs
+++ rustc-1.39.0-src/src/librustc_llvm/build.rs
@@ -137,6 +137,12 @@ fn main() {
--- rustc-1.42.0-src.orig/src/librustc_llvm/build.rs
+++ rustc-1.42.0-src/src/librustc_llvm/build.rs
@@ -135,6 +135,12 @@ fn main() {
continue;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Tue Mar 31 12:28:18 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- 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<T> 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 - alarrosa@suse.com
- Rebased patches:
+ ignore-Wstring-conversion.patch (offset / fuzz)
-------------------------------------------------------------------
Mon Mar 23 19:01:55 UTC 2020 - Federico Mena Quintero <federico@suse.com>

View File

@ -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 @@ 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/unicode.py
sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' src/libcore/unicode/printable.py
chmod +x src/libcore/unicode/printable.py

View File

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

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

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