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:
committed by
Git OBS Bridge
parent
812043155b
commit
012930143c
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user