Accepting request 491720 from home:luke_nukem:branches:devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/491720 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=101
This commit is contained in:
parent
302db12c5c
commit
d41ed167f2
109
rust.changes
109
rust.changes
@ -1,3 +1,112 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 28 01:24:18 UTC 2017 - luke.nukem.jones@gmail.com
|
||||||
|
|
||||||
|
- Revert restriction of x86 arch to i586 for the interim.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 28 01:04:09 UTC 2017 - luke.nukem.jones@gmail.com
|
||||||
|
|
||||||
|
- Update to 1.17.0
|
||||||
|
- Language updates
|
||||||
|
* [The compiler's `dead_code` lint now accounts for type aliases][38051].
|
||||||
|
* [Uninhabitable enums (those without any variants) no longer permit wildcard
|
||||||
|
match patterns][38069]
|
||||||
|
* [Clean up semantics of `self` in an import list][38313]
|
||||||
|
* [`Self` may appear in `impl` headers][38920]
|
||||||
|
* [`Self` may appear in struct expressions][39282]
|
||||||
|
|
||||||
|
- Compiler updates
|
||||||
|
* [`rustc` now supports `--emit=metadata`, which causes rustc to emit
|
||||||
|
a `.rmeta` file containing only crate metadata][38571]. This can be
|
||||||
|
used by tools like the Rust Language Service to perform
|
||||||
|
metadata-only builds.
|
||||||
|
* [Levenshtein based typo suggestions now work in most places, while
|
||||||
|
previously they worked only for fields and sometimes for local
|
||||||
|
variables][38927]. Together with the overhaul of "no
|
||||||
|
resolution"/"unexpected resolution" errors (#[38154]) they result in
|
||||||
|
large and systematic improvement in resolution diagnostics.
|
||||||
|
* [Fix `transmute::<T, U>` where `T` requires a bigger alignment than
|
||||||
|
`U`][38670]
|
||||||
|
* [rustc: use -Xlinker when specifying an rpath with ',' in it][38798]
|
||||||
|
* [`rustc` no longer attempts to provide "consider using an explicit
|
||||||
|
lifetime" suggestions][37057]. They were inaccurate.
|
||||||
|
|
||||||
|
- Stabilized APIs
|
||||||
|
* [`VecDeque::truncate`]
|
||||||
|
* [`VecDeque::resize`]
|
||||||
|
* [`String::insert_str`]
|
||||||
|
* [`Duration::checked_add`]
|
||||||
|
* [`Duration::checked_sub`]
|
||||||
|
* [`Duration::checked_div`]
|
||||||
|
* [`Duration::checked_mul`]
|
||||||
|
* [`str::replacen`]
|
||||||
|
* [`str::repeat`]
|
||||||
|
* [`SocketAddr::is_ipv4`]
|
||||||
|
* [`SocketAddr::is_ipv6`]
|
||||||
|
* [`IpAddr::is_ipv4`]
|
||||||
|
* [`IpAddr::is_ipv6`]
|
||||||
|
* [`Vec::dedup_by`]
|
||||||
|
* [`Vec::dedup_by_key`]
|
||||||
|
* [`Result::unwrap_or_default`]
|
||||||
|
* [`<*const T>::wrapping_offset`]
|
||||||
|
* [`<*mut T>::wrapping_offset`]
|
||||||
|
* `CommandExt::creation_flags`
|
||||||
|
* [`File::set_permissions`]
|
||||||
|
* [`String::split_off`]
|
||||||
|
|
||||||
|
- Updates to libraries
|
||||||
|
* [`[T]::binary_search` and `[T]::binary_search_by_key` now take
|
||||||
|
their argument by `Borrow` parameter][37761]
|
||||||
|
* [All public types in std implement `Debug`][38006]
|
||||||
|
* [`IpAddr` implements `From<Ipv4Addr>` and `From<Ipv6Addr>`][38327]
|
||||||
|
* [`Ipv6Addr` implements `From<[u16; 8]>`][38131]
|
||||||
|
* [Ctrl-Z returns from `Stdin.read()` when reading from the console on
|
||||||
|
Windows][38274]
|
||||||
|
* [std: Fix partial writes in `LineWriter`][38062]
|
||||||
|
* [std: Clamp max read/write sizes on Unix][38062]
|
||||||
|
* [Use more specific panic message for `&str` slicing errors][38066]
|
||||||
|
* [`TcpListener::set_only_v6` is deprecated][38304]. This
|
||||||
|
functionality cannot be achieved in std currently.
|
||||||
|
* [`writeln!`, like `println!`, now accepts a form with no string
|
||||||
|
or formatting arguments, to just print a newline][38469]
|
||||||
|
* [Implement `iter::Sum` and `iter::Product` for `Result`][38580]
|
||||||
|
* [Reduce the size of static data in `std_unicode::tables`][38781]
|
||||||
|
* [`char::EscapeDebug`, `EscapeDefault`, `EscapeUnicode`,
|
||||||
|
`CaseMappingIter`, `ToLowercase`, `ToUppercase`, implement
|
||||||
|
`Display`][38909]
|
||||||
|
* [`Duration` implements `Sum`][38712]
|
||||||
|
* [`String` implements `ToSocketAddrs`][39048]
|
||||||
|
|
||||||
|
- Misc
|
||||||
|
* [`rustdoc` has a `--sysroot` argument that, like `rustc`, specifies
|
||||||
|
the path to the Rust implementation][38589]
|
||||||
|
* [The `armv7-linux-androideabi` target no longer enables NEON
|
||||||
|
extensions, per Google's ABI guide][38413]
|
||||||
|
* [The stock standard library can be compiled for Redox OS][38401]
|
||||||
|
* [Rust has initial SPARC support][38726]. Tier 3. No builds
|
||||||
|
available.
|
||||||
|
* [Rust has experimental support for Nvidia PTX][38559]. Tier 3. No
|
||||||
|
builds available.
|
||||||
|
* [Fix backtraces on i686-pc-windows-gnu by disabling FPO][39379]
|
||||||
|
|
||||||
|
- Compatibility Notes
|
||||||
|
* [Uninhabitable enums (those without any variants) no longer permit wildcard
|
||||||
|
match patterns][38069]
|
||||||
|
* In this release, references to uninhabited types can not be
|
||||||
|
pattern-matched. This was accidentally allowed in 1.15.
|
||||||
|
* [The compiler's `dead_code` lint now accounts for type aliases][38051].
|
||||||
|
* [Ctrl-Z returns from `Stdin.read()` when reading from the console on
|
||||||
|
Windows][38274]
|
||||||
|
* [Clean up semantics of `self` in an import list][38313]
|
||||||
|
|
||||||
|
- Restrict x86 builds to i686 only.
|
||||||
|
- Revert restriction on previous rust versions used for building
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 22 02:06:47 UTC 2017 - luke.nukem.jones@gmail.com
|
||||||
|
|
||||||
|
- Change x86 build target from i586 to i686
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 22 01:43:22 UTC 2017 - luke.nukem.jones@gmail.com
|
Wed Mar 22 01:43:22 UTC 2017 - luke.nukem.jones@gmail.com
|
||||||
|
|
||||||
|
15
rust.spec
15
rust.spec
@ -17,7 +17,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global prev_rust 1.15.1
|
%global prev_rust 1.16.0
|
||||||
%global prev_cargo 0.16.0
|
%global prev_cargo 0.16.0
|
||||||
%global abi gnu
|
%global abi gnu
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
@ -40,15 +40,16 @@
|
|||||||
%global _arch i586
|
%global _arch i586
|
||||||
%endif
|
%endif
|
||||||
%global rust_triple %{_arch}-unknown-linux-%{abi}
|
%global rust_triple %{_arch}-unknown-linux-%{abi}
|
||||||
|
%global dl_url https://static.rust-lang.org/dist
|
||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
Name: rust
|
Name: rust
|
||||||
Version: 1.16.0
|
Version: 1.17.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A systems programming language
|
Summary: A systems programming language
|
||||||
License: MIT or Apache-2.0
|
License: MIT or Apache-2.0
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Url: http://www.rust-lang.org
|
Url: http://www.rust-lang.org
|
||||||
Source0: https://static.rust-lang.org/dist/rustc-%{version}-src.tar.gz
|
Source0: %{dl_url}//rustc-%{version}-src.tar.gz
|
||||||
Source1: config.toml
|
Source1: config.toml
|
||||||
# PATCH-FIX-OPENSUSE: Set DT_SONAME when building dylibs
|
# PATCH-FIX-OPENSUSE: Set DT_SONAME when building dylibs
|
||||||
Patch1: add-soname.patch
|
Patch1: add-soname.patch
|
||||||
@ -72,7 +73,7 @@ Conflicts: rustc-bootstrap
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# Restrict the architectures as building rust relies on being initially
|
# Restrict the architectures as building rust relies on being initially
|
||||||
# bootstrapped before we can build the n+1 release
|
# bootstrapped before we can build the n+1 release
|
||||||
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x
|
ExclusiveArch: %{ix86} x86_64 armv7 aarch64 ppc64 ppc64le s390x
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -87,8 +88,10 @@ BuildRequires: rustc-bootstrap == %{prev_rust}
|
|||||||
%else
|
%else
|
||||||
# Require exact versions to help prevent OBS build loops
|
# Require exact versions to help prevent OBS build loops
|
||||||
BuildRequires: cargo == %{prev_cargo}
|
BuildRequires: cargo == %{prev_cargo}
|
||||||
BuildRequires: rust == %{prev_rust}
|
BuildRequires: rust <= %{version}
|
||||||
BuildRequires: rust-std == %{prev_rust}
|
BuildRequires: rust >= %{prev_rust}
|
||||||
|
BuildRequires: rust-std <= %{version}
|
||||||
|
BuildRequires: rust-std >= %{prev_rust}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f966b31eb1cd9bd2df817c391a338eeb5b9253ae0a19bf8a11960c560f96e8b4
|
|
||||||
size 28470372
|
|
3
rustc-1.17.0-src.tar.gz
Normal file
3
rustc-1.17.0-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4baba3895b75f2492df6ce5a28a916307ecd1c088dc1fd02dbfa8a8e86174f87
|
||||||
|
size 31570599
|
Loading…
Reference in New Issue
Block a user