From 82baa4f98f189c2282bdad294721787fe7ef4572933413a4a289f5df3b440113 Mon Sep 17 00:00:00 2001 From: Luke Jones Date: Fri, 5 Jan 2018 00:40:46 +0000 Subject: [PATCH] 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`[45610] + impl `From` for `AtomicUsize/AtomicIsize`.[45610] + Removed the `T: Sync` requirement for `RwLock: 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 --- rust.changes | 43 +++++++++++++++++++++++++++++++++++++++++ rust.spec | 6 +++--- rustc-1.22.1-src.tar.gz | 3 --- rustc-1.23.0-src.tar.gz | 3 +++ 4 files changed, 49 insertions(+), 6 deletions(-) delete mode 100644 rustc-1.22.1-src.tar.gz create mode 100644 rustc-1.23.0-src.tar.gz diff --git a/rust.changes b/rust.changes index c9d7c67..76e9068 100644 --- a/rust.changes +++ b/rust.changes @@ -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`[45610] + + impl `From` for `AtomicUsize/AtomicIsize`.[45610] + + Removed the `T: Sync` requirement for `RwLock: 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 diff --git a/rust.spec b/rust.spec index b117e5a..7d764f5 100644 --- a/rust.spec +++ b/rust.spec @@ -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 diff --git a/rustc-1.22.1-src.tar.gz b/rustc-1.22.1-src.tar.gz deleted file mode 100644 index 572abd3..0000000 --- a/rustc-1.22.1-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b7a42bdd6eb205a8c533eb41b5c42389a88158d060aed1e0f461f68c1fd3fd3 -size 54935620 diff --git a/rustc-1.23.0-src.tar.gz b/rustc-1.23.0-src.tar.gz new file mode 100644 index 0000000..fa296a2 --- /dev/null +++ b/rustc-1.23.0-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7464953871dcfdfa8afcc536916a686dd156a83339d8ec4d5cb4eb2fe146cb91 +size 60010149