Accepting request 883124 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/883124 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust?expand=0&rev=62
This commit is contained in:
commit
4574696ee9
@ -1,8 +1,8 @@
|
||||
Index: rustc-1.49.0-src/compiler/rustc_llvm/build.rs
|
||||
Index: rustc-1.51.0-src/compiler/rustc_llvm/build.rs
|
||||
===================================================================
|
||||
--- rustc-1.49.0-src.orig/compiler/rustc_llvm/build.rs
|
||||
+++ rustc-1.49.0-src/compiler/rustc_llvm/build.rs
|
||||
@@ -157,6 +157,12 @@ fn main() {
|
||||
--- rustc-1.51.0-src.orig/compiler/rustc_llvm/build.rs
|
||||
+++ rustc-1.51.0-src/compiler/rustc_llvm/build.rs
|
||||
@@ -154,6 +154,12 @@ fn main() {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
92
rust.changes
92
rust.changes
@ -1,3 +1,95 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 6 01:52:35 UTC 2021 - William Brown <william.brown@suse.com>
|
||||
|
||||
- Update to version 1.51:
|
||||
+ Language
|
||||
- [You can now parameterize items such as functions, traits, and `struct`s by constant
|
||||
values in addition to by types and lifetimes.][79135] Also known as "const generics"
|
||||
E.g. you can now write the following. Note: Only values of primitive integers,
|
||||
`bool`, or `char` types are currently permitted.
|
||||
+ Compiler
|
||||
- [Added the `-Csplit-debuginfo` codegen option for macOS platforms.][79570]
|
||||
This option controls whether debug information is split across multiple files
|
||||
or packed into a single file. **Note** This option is unstable on other platforms.
|
||||
- [Added tier 3\* support for `aarch64_be-unknown-linux-gnu`,
|
||||
`aarch64-unknown-linux-gnu_ilp32`, and `aarch64_be-unknown-linux-gnu_ilp32` targets.][81455]
|
||||
- [Added tier 3 support for `i386-unknown-linux-gnu` and `i486-unknown-linux-gnu` targets.][80662]
|
||||
- [The `target-cpu=native` option will now detect individual features of CPUs.][80749]
|
||||
\* Refer to Rust's [platform support page][platform-support-doc] for more
|
||||
information on Rust's tiered platform support.
|
||||
+ Libraries
|
||||
- [`Box::downcast` is now also implemented for any `dyn Any + Send + Sync` object.][80945]
|
||||
- [`str` now implements `AsMut<str>`.][80279]
|
||||
- [`u64` and `u128` now implement `From<char>`.][79502]
|
||||
- [`Error` is now implemented for `&T` where `T` implements `Error`.][75180]
|
||||
- [`Poll::{map_ok, map_err}` are now implemented for `Poll<Option<Result<T, E>>>`.][80968]
|
||||
- [`unsigned_abs` is now implemented for all signed integer types.][80959]
|
||||
- [`io::Empty` now implements `io::Seek`.][78044]
|
||||
- [`rc::Weak<T>` and `sync::Weak<T>`'s methods such as `as_ptr` are now implemented for
|
||||
`T: ?Sized` types.][80764]
|
||||
+ Stabilized APIs
|
||||
- [`Arc::decrement_strong_count`]
|
||||
- [`Arc::increment_strong_count`]
|
||||
- [`Once::call_once_force`]
|
||||
- [`Peekable::next_if_eq`]
|
||||
- [`Peekable::next_if`]
|
||||
- [`Seek::stream_position`]
|
||||
- [`array::IntoIter`]
|
||||
- [`panic::panic_any`]
|
||||
- [`ptr::addr_of!`]
|
||||
- [`ptr::addr_of_mut!`]
|
||||
- [`slice::fill_with`]
|
||||
- [`slice::split_inclusive_mut`]
|
||||
- [`slice::split_inclusive`]
|
||||
- [`slice::strip_prefix`]
|
||||
- [`slice::strip_suffix`]
|
||||
- [`str::split_inclusive`]
|
||||
- [`sync::OnceState`]
|
||||
- [`task::Wake`]
|
||||
+ Cargo
|
||||
- [Added the `split-debuginfo` profile option to control the -Csplit-debuginfo
|
||||
codegen option.][cargo/9112]
|
||||
- [Added the `resolver` field to `Cargo.toml` to enable the new feature resolver
|
||||
and CLI option behavior.][cargo/8997] Version 2 of the feature resolver will try
|
||||
to avoid unifying features of dependencies where that unification could be unwanted.
|
||||
Such as using the same dependency with a `std` feature in a build scripts and
|
||||
proc-macros, while using the `no-std` feature in the final binary. See the
|
||||
[Cargo book documentation][feature-resolver@2.0] for more information on the feature.
|
||||
+ Rustdoc
|
||||
- [Rustdoc will now include documentation for methods available from _nested_ `Deref` traits.][80653]
|
||||
- [You can now provide a `--default-theme` flag which sets the default theme to use for
|
||||
documentation.][79642]
|
||||
Various improvements to intra-doc links:
|
||||
- [You can link to non-path primitives such as `slice`.][80181]
|
||||
- [You can link to associated items.][74489]
|
||||
- [You can now include generic parameters when linking to items, like `Vec<T>`.][76934]
|
||||
+ Misc
|
||||
- [You can now pass `--include-ignored` to tests (e.g. with
|
||||
`cargo test -- --include-ignored`) to include testing tests marked `#[ignore]`.][80053]
|
||||
+ Compatibility Notes
|
||||
- [WASI platforms no longer use the `wasm-bindgen` ABI, and instead use the wasm32 ABI.][79998]
|
||||
- [`rustc` no longer promotes division, modulo and indexing operations to `const` that
|
||||
could fail.][80579]
|
||||
- [The minimum version of glibc for the following platforms has been bumped to version 2.31
|
||||
for the distributed artifacts.][81521]
|
||||
- `armv5te-unknown-linux-gnueabi`
|
||||
- `sparc64-unknown-linux-gnu`
|
||||
- `thumbv7neon-unknown-linux-gnueabihf`
|
||||
- `armv7-unknown-linux-gnueabi`
|
||||
- `x86_64-unknown-linux-gnux32`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 29 02:35:45 UTC 2021 - opensuse-packaging@opensuse.org
|
||||
|
||||
- Rebased patches:
|
||||
+ ignore-Wstring-conversion.patch (offset / fuzz)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 28 07:56:31 UTC 2021 - Manfred Hollstein <manfred.h@gmx.net>
|
||||
|
||||
- rust.spec: Fix typo.
|
||||
Add work-around for cargo not respecting _libexecdir on Leap.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 11 16:21:34 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
|
12
rust.spec
12
rust.spec
@ -17,8 +17,8 @@
|
||||
#
|
||||
|
||||
|
||||
%global version_current 1.50.0
|
||||
%global version_previous 1.49.0
|
||||
%global version_current 1.51.0
|
||||
%global version_previous 1.50.0
|
||||
%global version_bootstrap 1.50.0
|
||||
|
||||
# some sub-packages are versioned independently
|
||||
@ -565,10 +565,16 @@ mkdir -p %{buildroot}%{_datadir}/cargo/registry
|
||||
mkdir -p %{buildroot}%{_docdir}/cargo
|
||||
ln -sT ../rust/html/cargo/ %{buildroot}%{_docdir}/cargo/html
|
||||
|
||||
# Move the bash-completition to correct directory for openSUSE
|
||||
# Move the bash-completion to correct directory for openSUSE
|
||||
install -D %{buildroot}%{_sysconfdir}/bash_completion.d/cargo %{buildroot}%{_datadir}/bash-completion/completions/cargo
|
||||
# There should be nothing here at all
|
||||
rm -rf %{buildroot}%{_sysconfdir}
|
||||
# cargo does not respect our _libexec setting on Leap:
|
||||
if [ ! -f %{buildroot}%{_libexecdir}/cargo-credential-1password ] &&
|
||||
[ -f %{buildroot}%{_exec_prefix}/libexec/cargo-credential-1password ]; then
|
||||
mv %{buildroot}%{_exec_prefix}/libexec/cargo-credential-1password \
|
||||
%{buildroot}%{_libexecdir}/cargo-credential-1password
|
||||
fi
|
||||
|
||||
# Remove llvm installation
|
||||
rm -rf %{buildroot}/home
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f54adf9204ed3cb3998cdc1baa5645b346d8cf8f18205e3b15fcae194ba5457c
|
||||
size 108666272
|
3
rustc-1.51.0-src.tar.xz
Normal file
3
rustc-1.51.0-src.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92c68a91fca33cbafb83442cde722d010cc387dc1ee8a2680e2fb33a575821a1
|
||||
size 109596164
|
Loading…
x
Reference in New Issue
Block a user