Accepting request 605639 from home:mmanu84:rust

- Patch disabled
  * update-config-guess.patch
- Update to 1.25.0
- Language changes:
  + Stabilised `#[repr(align(x))]`.[47006] [RFC 1358]
  + You can now use nested groups of imports.[47948]
    e.g. `use std::{fs::File, io::Read, path::{Path, PathBuf}};`
  + You can now have `|` at the start of a match arm.[47947] e.g.
- Compiler changes:
  + Upgraded to LLVM 6.[47828]
  + Added `-C lto=val` option.[47521]
  + Added `i586-unknown-linux-musl` target[47282]
- Library changes:
  + Impl Send for `process::Command` on Unix.[47760]
  + Impl PartialEq and Eq for `ParseCharError`.[47790]
  + `UnsafeCell::into_inner` is now safe.[47204]
  + Implement libstd for CloudABI.[47268]
  + `Float::{from_bits, to_bits}` is now available in libcore.[46931]
  + Implement `AsRef<Path>` for Component[46985]
  + Implemented `Write` for `Cursor<&mut Vec<u8>>`[46830]
  + Moved `Duration` to libcore.[46666]
- Stabilized APIs
  + `Location::column`
  + `ptr::NonNull`
- Misc
  + Rust by example is now shipped with new releases[46196]
- Compatibility Notes:
  + Deprecated `net::lookup_host`.[47510]
  + `rustdoc` has switched to pulldown as the default markdown renderer.[47398]
  + The borrow checker was sometimes incorrectly permitting overlapping borrows
    around indexing operations (see [#47349][47349]). This has been fixed (which also
    enabled some correct code that used to cause errors (e.g. [#33903][33903] and [#46095][46095]).
  + Removed deprecated unstable attribute `#[simd]`.[47251]

OBS-URL: https://build.opensuse.org/request/show/605639
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=155
This commit is contained in:
Luke Jones 2018-05-11 02:31:09 +00:00 committed by Git OBS Bridge
parent 812043155b
commit 012930143c
4 changed files with 45 additions and 6 deletions

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Thu May 3 08:05:33 UTC 2018 - mmanu84@outlook.de
- Patch disabled
* update-config-guess.patch
- Update to 1.25.0
- Language changes:
+ Stabilised `#[repr(align(x))]`.[47006] [RFC 1358]
+ You can now use nested groups of imports.[47948]
e.g. `use std::{fs::File, io::Read, path::{Path, PathBuf}};`
+ You can now have `|` at the start of a match arm.[47947] e.g.
- Compiler changes:
+ Upgraded to LLVM 6.[47828]
+ Added `-C lto=val` option.[47521]
+ Added `i586-unknown-linux-musl` target[47282]
- Library changes:
+ Impl Send for `process::Command` on Unix.[47760]
+ Impl PartialEq and Eq for `ParseCharError`.[47790]
+ `UnsafeCell::into_inner` is now safe.[47204]
+ Implement libstd for CloudABI.[47268]
+ `Float::{from_bits, to_bits}` is now available in libcore.[46931]
+ Implement `AsRef<Path>` for Component[46985]
+ Implemented `Write` for `Cursor<&mut Vec<u8>>`[46830]
+ Moved `Duration` to libcore.[46666]
- Stabilized APIs
+ `Location::column`
+ `ptr::NonNull`
- Misc
+ Rust by example is now shipped with new releases[46196]
- Compatibility Notes:
+ Deprecated `net::lookup_host`.[47510]
+ `rustdoc` has switched to pulldown as the default markdown renderer.[47398]
+ The borrow checker was sometimes incorrectly permitting overlapping borrows
around indexing operations (see [#47349][47349]). This has been fixed (which also
enabled some correct code that used to cause errors (e.g. [#33903][33903] and [#46095][46095]).
+ Removed deprecated unstable attribute `#[simd]`.[47251]
-------------------------------------------------------------------
Thu Mar 22 13:54:53 UTC 2018 - mmanu84@outlook.de

View File

@ -17,7 +17,7 @@
#
%global prev_rust 1.24.0
%global prev_rust 1.24.1
%global cargo_version 0.25.0
%global rust_arch %{_arch}
%global abi gnu
@ -45,7 +45,7 @@
%global rustlibdir %{common_libdir}/rustlib
%bcond_with rust_bootstrap
Name: rust
Version: 1.24.1
Version: 1.25.0
Release: 0
Summary: A systems programming language
License: MIT OR Apache-2.0
@ -181,7 +181,7 @@ as RLS or racer.
%global cargo_bin %{_builddir}/cargo-%{cargo_version}-%{rust_triple}/cargo/bin/cargo
%setup -q -n rustc-%{version}-src
%patch0 -p1
# %patch0 -p1
sed -e 's:<cargo-bin>:%{cargo_bin}:g' \
-e 's:<rust-triple>:%{rust_triple}:g' \
-e 's:<prefix>:%{_prefix}:g' \
@ -262,7 +262,9 @@ rm %{buildroot}%{_docdir}/%{name}/{README.md,COPYRIGHT,LICENSE-APACHE,LICENSE-MI
%files -n rust-std
%dir %{rustlibdir}
%dir %{rustlibdir}/%{rust_triple}
%dir %{rustlibdir}/%{rust_triple}/codegen-backends
%dir %{rustlibdir}/%{rust_triple}/lib
%{rustlibdir}/%{rust_triple}/codegen-backends/librustc_trans-llvm.so
%{rustlibdir}/%{rust_triple}/lib/*.rlib
%{rustlibdir}/%{rust_triple}/lib/*.so

View File

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

3
rustc-1.25.0-src.tar.gz Normal file
View File

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