Accepting request 561771 from home:luke_nukem:branches:devel:languages:rust

- Update to 1.23.0
- Language changes:
  + Arbitrary `auto` traits are now permitted in trait objects.[45772]
  + rustc now uses subtyping on the left hand side of binary operations.[45435]
    Which should fix some confusing errors in some operations.
- Compiler changes:
  + Enabled `TrapUnreachable` in LLVM which should mitigate the impact of
    undefined behaviour.[45920]
  + rustc now suggests renaming import if names clash.[45660]
  + Display errors/warnings correctly when there are zero-width or
    wide characters.[45711]
  + rustc now avoids unnecessary copies of arguments that are
    simple bindings[45380] This should improve memory usage on average by 5-10%.
  + Updated musl used to build musl rustc to 1.1.17[45393]
- Library changes:
  + Allow a trailing comma in `assert_eq/ne` macro[45887]
  + Implement Hash for raw pointers to unsized types[45483]
  + impl `From<*mut T>` for `AtomicPtr<T>`[45610]
  + impl `From<usize/isize>` for `AtomicUsize/AtomicIsize`.[45610]
  + Removed the `T: Sync` requirement for `RwLock<T>: Send`[45267]
  + Removed `T: Sized` requirement for `{<*const T>, <*mut T>}::as_ref`
    an `<*mut T>::as_mut`[44932]
  + Optimized `Thread::{park, unpark}` implementation[45524]
  + Improved `SliceExt::binary_search` performance.[45333]
  + impl `FromIterator<()>` for `()`[45379]
  + Copied `AsciiExt` trait methods to primitive types.[44042] Use of `AsciiExt`
    is now deprecated.
- Misc changes:
  + Releases now ship with the Cargo book documentation.[45692]
  + rustdoc now prints rendering warnings on every run.[45324]
  + Release tarballs now come with rustfmt[45903]
- Compatibility Notes:
  + Changes have been made to type equality to make it more correct,
    in rare cases this could break some code.[45853] [Tracking issue for
    further information[45852]
  + `char::escape_debug` now uses Unicode 10 over 9.[45571]
  + Upgraded Android SDK to 27, and NDK to r15c.[45580] This drops support for
    Android 9, the minimum supported version is Android 14.
  + Bumped the minimum LLVM to 3.9[45326]

OBS-URL: https://build.opensuse.org/request/show/561771
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=140
This commit is contained in:
Luke Jones 2018-01-05 00:40:46 +00:00 committed by Git OBS Bridge
parent d1963b7b15
commit 82baa4f98f
4 changed files with 49 additions and 6 deletions

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Thu Jan 4 21:20:36 UTC 2018 - jones_ld@protonmail.com
- Update to 1.23.0
- Language changes:
+ Arbitrary `auto` traits are now permitted in trait objects.[45772]
+ rustc now uses subtyping on the left hand side of binary operations.[45435]
Which should fix some confusing errors in some operations.
- Compiler changes:
+ Enabled `TrapUnreachable` in LLVM which should mitigate the impact of
undefined behaviour.[45920]
+ rustc now suggests renaming import if names clash.[45660]
+ Display errors/warnings correctly when there are zero-width or
wide characters.[45711]
+ rustc now avoids unnecessary copies of arguments that are
simple bindings[45380] This should improve memory usage on average by 5-10%.
+ Updated musl used to build musl rustc to 1.1.17[45393]
- Library changes:
+ Allow a trailing comma in `assert_eq/ne` macro[45887]
+ Implement Hash for raw pointers to unsized types[45483]
+ impl `From<*mut T>` for `AtomicPtr<T>`[45610]
+ impl `From<usize/isize>` for `AtomicUsize/AtomicIsize`.[45610]
+ Removed the `T: Sync` requirement for `RwLock<T>: Send`[45267]
+ Removed `T: Sized` requirement for `{<*const T>, <*mut T>}::as_ref`
an `<*mut T>::as_mut`[44932]
+ Optimized `Thread::{park, unpark}` implementation[45524]
+ Improved `SliceExt::binary_search` performance.[45333]
+ impl `FromIterator<()>` for `()`[45379]
+ Copied `AsciiExt` trait methods to primitive types.[44042] Use of `AsciiExt`
is now deprecated.
- Misc changes:
+ Releases now ship with the Cargo book documentation.[45692]
+ rustdoc now prints rendering warnings on every run.[45324]
+ Release tarballs now come with rustfmt[45903]
- Compatibility Notes:
+ Changes have been made to type equality to make it more correct,
in rare cases this could break some code.[45853] [Tracking issue for
further information[45852]
+ `char::escape_debug` now uses Unicode 10 over 9.[45571]
+ Upgraded Android SDK to 27, and NDK to r15c.[45580] This drops support for
Android 9, the minimum supported version is Android 14.
+ Bumped the minimum LLVM to 3.9[45326]
-------------------------------------------------------------------
Sat Nov 25 09:54:46 UTC 2017 - mmanu84@outlook.de

View File

@ -1,7 +1,7 @@
#
# spec file for package rust
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Luke Jones, luke.nukem.jones@gmail.com
#
# All modifications and additions to the file contributed by third parties
@ -17,7 +17,7 @@
#
%global prev_rust 1.21.0
%global prev_rust 1.22.1
%global cargo_version 0.23.0
%bcond_with rust_bootstrap
@ -48,7 +48,7 @@
%global rustlibdir %{common_libdir}/rustlib
Name: rust
Version: 1.22.1
Version: 1.23.0
Release: 0
Summary: A systems programming language
License: MIT or Apache-2.0

View File

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

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

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