Accepting request 891155 from home:firstyear:branches:devel:languages:rust
- Update to version 1.52: + Language - [Added the `unsafe_op_in_unsafe_fn` lint, which checks whether the unsafe code in an `unsafe fn` is wrapped in a `unsafe` block.][79208] This lint is allowed by default, and may become a warning or hard error in a future edition. - [You can now cast mutable references to arrays to a pointer of the same type as the element.][81479] + Compiler - [Upgraded the default LLVM to LLVM 12.][81451] - Added tier 3\* support for the following targets. - [`s390x-unknown-linux-musl`][82166] - [`riscv32gc-unknown-linux-musl` & `riscv64gc-unknown-linux-musl`][82202] - [`powerpc-unknown-openbsd`][82733] + Libraries - [`OsString` now implements `Extend` and `FromIterator`.][82121] - [`cmp::Reverse` now has `#[repr(transparent)]` representation.][81879] - [`Arc<impl Error>` now implements `error::Error`.][80553] - [All integer division and remainder operations are now `const`.][80962] + Stabilised APIs - [`Arguments::as_str`] - [`char::MAX`] - [`char::REPLACEMENT_CHARACTER`] - [`char::UNICODE_VERSION`] - [`char::decode_utf16`] - [`char::from_digit`] - [`char::from_u32_unchecked`] - [`char::from_u32`] - [`slice::partition_point`] - [`str::rsplit_once`] OBS-URL: https://build.opensuse.org/request/show/891155 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=288
This commit is contained in:
10
rust.spec
10
rust.spec
@@ -17,9 +17,9 @@
|
||||
#
|
||||
|
||||
|
||||
%global version_current 1.51.0
|
||||
%global version_previous 1.50.0
|
||||
%global version_bootstrap 1.50.0
|
||||
%global version_current 1.52.0
|
||||
%global version_previous 1.51.0
|
||||
%global version_bootstrap 1.51.0
|
||||
|
||||
# some sub-packages are versioned independently
|
||||
%global rustfmt_version 1.4.25
|
||||
@@ -156,9 +156,6 @@ Source209: %{dl_url}/rust-%{version_bootstrap}-riscv64gc-unknown-linux-gnu.
|
||||
Source1000: README.suse-maint
|
||||
# PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag
|
||||
Patch0: ignore-Wstring-conversion.patch
|
||||
# PATCH-FIX-UPSTREAM: https://github.com/rust-lang/rust/pull/81451, trivially rebased before
|
||||
# https://github.com/rust-lang/rust/pull/82045 and https://github.com/rust-lang/rust/pull/82102.
|
||||
Patch1: support-llvm12.patch
|
||||
BuildRequires: ccache
|
||||
BuildRequires: curl
|
||||
BuildRequires: fdupes
|
||||
@@ -416,7 +413,6 @@ This package includes HTML documentation for Cargo.
|
||||
%setup -q -n rustc-%{version}-src
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# use python3
|
||||
sed -i -e "1s|#!.*|#!%{_bindir}/python3|" x.py
|
||||
|
Reference in New Issue
Block a user