Accepting request 840500 from home:firstyear:branches:devel:languages:rust
- 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<char>`.][73466] - [The `leading_ones`, and `trailing_ones` methods have been stabilised for all integer types.][73032] - [`vec::IntoIter<T>` now implements `AsRef<[T]>`.][72583] - [All non-zero integer types (`NonZeroU8`) now implement `TryFrom` for their zero-able equivalent (e.g. `TryFrom<u8>`).][72717] - [`&[T]` and `&mut [T]` now implement `PartialEq<Vec<T>>`.][71660] - [`(String, u16)` now implements `ToSocketAddrs`.][73007] - [`vec::Drain<'_, T>` now implements `AsRef<[T]>`.][72584] + Stabilized APIs - [`Option::zip`] - [`vec::Drain::as_slice`] + Cargo OBS-URL: https://build.opensuse.org/request/show/840500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=265
This commit is contained in:
parent
1554d2b079
commit
a31c8f45ab
@ -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;
|
||||
}
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:149e4d34ac86b9e7ac6c079ddcf19f68dacdccb4230916245187b0ebb8706fba
|
||||
size 101259004
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e997c82efd3a3d4ed9e17a4ce031df2cef289d70a8819dfabd75b589a4884c4
|
||||
size 109724880
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b66841e041174bcefcfed9110cf787eae62ff8c07438b6bb081b832a2419513
|
||||
size 124915068
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a7ef865f4e401b645ef437f08510ba66c39a0ce0a8baef7a405e0bede9bfc4d
|
||||
size 97722508
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2fe16c599479e708973fd9be3a835ac439b21a95af56a05e0a31bd6e3726436b
|
||||
size 107393564
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c1fd01540148de00ddbd5603d702d31d34af38057bd3b92145e555267b1caeae
|
||||
size 112429740
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b608b6a22f55be420469eb5432ec814504d294cf89af7576581b1dc9016061aa
|
||||
size 119312728
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa813a36f9ed0b9886c9555140e9163f565c532e541a28f8bd69288f7e4f0ff5
|
||||
size 112133992
|
3
rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz
Normal file
3
rust-1.45.2-aarch64-unknown-linux-gnu.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7e8e3a93b42b261e90cddb084116035daede1cdda0754c805a00c5d3a397440
|
||||
size 110433136
|
3
rust-1.45.2-armv7-unknown-linux-gnueabihf.tar.xz
Normal file
3
rust-1.45.2-armv7-unknown-linux-gnueabihf.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a20c1062da5f9a78b491697bcecb8c123ba887c95c79f2a0af05f46d77f7e352
|
||||
size 116516572
|
3
rust-1.45.2-i686-unknown-linux-gnu.tar.xz
Normal file
3
rust-1.45.2-i686-unknown-linux-gnu.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:42c25bea5c6dc35e89c65217477880aa52ee95b85271192f7e6833c80f3761f0
|
||||
size 131555580
|
3
rust-1.45.2-powerpc-unknown-linux-gnu.tar.xz
Normal file
3
rust-1.45.2-powerpc-unknown-linux-gnu.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c098139b5b2edf43407b6cb1e754afac59af685b8cf9304f8aabda62d56442a
|
||||
size 104037748
|
3
rust-1.45.2-powerpc64-unknown-linux-gnu.tar.xz
Normal file
3
rust-1.45.2-powerpc64-unknown-linux-gnu.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b604a56150cc0cf0a1c7ccbf0ffeafcdc3e73fd6cac9924b66b735ebf2b5b94
|
||||
size 114778460
|
3
rust-1.45.2-powerpc64le-unknown-linux-gnu.tar.xz
Normal file
3
rust-1.45.2-powerpc64le-unknown-linux-gnu.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a24580fcb1ae0ff6c698f1901ccca0341fc7ea72258b54f664288793ed9ca7b
|
||||
size 118941136
|
3
rust-1.45.2-s390x-unknown-linux-gnu.tar.xz
Normal file
3
rust-1.45.2-s390x-unknown-linux-gnu.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0790ae97534e5b407c38d985154ea5e6088f896fbb52d5d57a24a6cc70c24b65
|
||||
size 125144128
|
3
rust-1.45.2-x86_64-unknown-linux-gnu.tar.xz
Normal file
3
rust-1.45.2-x86_64-unknown-linux-gnu.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39455d1ebd6f386e50748f566e1b37780f236c1f3cbc869690653662beca1ea9
|
||||
size 118135364
|
46
rust.changes
46
rust.changes
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 10 00:26:02 UTC 2020 - William Brown <william.brown@suse.com>
|
||||
|
||||
- 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<char>`.][73466]
|
||||
- [The `leading_ones`, and `trailing_ones` methods have been stabilised for all
|
||||
integer types.][73032]
|
||||
- [`vec::IntoIter<T>` now implements `AsRef<[T]>`.][72583]
|
||||
- [All non-zero integer types (`NonZeroU8`) now implement `TryFrom` for their
|
||||
zero-able equivalent (e.g. `TryFrom<u8>`).][72717]
|
||||
- [`&[T]` and `&mut [T]` now implement `PartialEq<Vec<T>>`.][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 <william.brown@suse.com>
|
||||
|
||||
|
16
rust.spec
16
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}
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8412adac2f5d974b2f06c5bd4be7361084d18a678d098bf05de5ccfa57b74a9
|
||||
size 98683036
|
3
rustc-1.46.0-src.tar.xz
Normal file
3
rustc-1.46.0-src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:865dae1290a205f16ded8818c6a0254cc32862985fc250a602a70285b7d92b82
|
||||
size 101868452
|
Loading…
Reference in New Issue
Block a user