Accepting request 787613 from home:federico-mena:branches:devel:languages:rust

- Update to version 1.41.1:
  - Always check types of static items
  - Always check lifetime bounds of `Copy` impls
  - Fix miscompilation in callers of `Layout::repeat`
- Update to version 1.41.0:
  + Language
    - You can now pass type parameters to foreign items when implementing
      traits. E.g. You can now write `impl<T> From<Foo> for Vec<T> {}`.
    - You can now arbitrarily nest receiver types in the `self` position. E.g. you can
      now write `fn foo(self: Box<Box<Self>>) {}`. Previously only `Self`, `&Self`,
      `&mut Self`, `Arc<Self>`, `Rc<Self>`, and `Box<Self>` were allowed.
    - You can now use any valid identifier in a `format_args` macro.
      Previously identifiers starting with an underscore were not allowed.
    - Visibility modifiers (e.g. `pub`) are now syntactically allowed on trait items and
      enum variants. These are still rejected semantically, but
      can be seen and parsed by procedural macros and conditional compilation.
    
  + Compiler
    - Rustc will now warn if you have unused loop `'label`s.
    - Removed support for the `i686-unknown-dragonfly` target.
    - Added tier 3 support\* for the `riscv64gc-unknown-linux-gnu` target.
    - You can now pass an arguments file passing the `@path` syntax
      to rustc. Note that the format differs somewhat from what is
      found in other tooling; please see the documentation for
      more information.
    - You can now provide `--extern` flag without a path, indicating that it is
      available from the search path or specified with an `-L` flag.
    
    Refer to Rust's [platform support page][forge-platform-support] for more
    information on Rust's tiered platform support.
    
  + Libraries
    - The `core::panic` module is now stable. It was already stable
      through `std`.
    - `NonZero*` numerics now implement `From<NonZero*>` if it's a smaller integer
      width. E.g. `NonZeroU16` now implements `From<NonZeroU8>`.
    - `MaybeUninit<T>` now implements `fmt::Debug`.
    
  + Stabilized APIs
    - `Result::map_or`
    - `Result::map_or_else`
    - `std::rc::Weak::weak_count`
    - `std::rc::Weak::strong_count`
    - `std::sync::Weak::weak_count`
    - `std::sync::Weak::strong_count`
    
  + Cargo
    - Cargo will now document all the private items for binary crates
      by default.
    - `cargo-install` will now reinstall the package if it detects that it is out
      of date.
    - Cargo.lock now uses a more git friendly format that should help to reduce
      merge conflicts.
    - You can now override specific dependencies's build settings. E.g.
      `[profile.dev.package.image] opt-level = 2` sets the `image` crate's
      optimisation level to `2` for debug builds. You can also use
      `[profile.<profile>.build-override]` to override build scripts and
      their dependencies.
  + Misc
    - You can now specify `edition` in documentation code blocks to compile the block
      for that edition. E.g. `edition2018` tells rustdoc that the code sample
      should be compiled the 2018 edition of Rust.
    - You can now provide custom themes to rustdoc with `--theme`, and check the
      current theme with `--check-theme`.
    - You can use `#[cfg(doc)]` to compile an item when building documentation.
    
  + Compatibility Notes
    - As previously announced 1.41.0 will be the last tier 1 release for 32-bit
      Apple targets. This means that the source code is still
      available to build, but the targets are no longer being tested and release
      binaries for those platforms will no longer be distributed by the Rust project.
      Please refer to the linked blog post for more information.

OBS-URL: https://build.opensuse.org/request/show/787613
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=243
This commit is contained in:
Federico Mena Quintero 2020-03-26 18:40:33 +00:00 committed by Git OBS Bridge
parent 6c0a9c7183
commit 4ea0df818b
20 changed files with 112 additions and 33 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,83 @@
-------------------------------------------------------------------
Mon Mar 23 19:01:55 UTC 2020 - Federico Mena Quintero <federico@suse.com>
- Update to version 1.41.1:
- Always check types of static items
- Always check lifetime bounds of `Copy` impls
- Fix miscompilation in callers of `Layout::repeat`
- Update to version 1.41.0:
+ Language
- You can now pass type parameters to foreign items when implementing
traits. E.g. You can now write `impl<T> From<Foo> for Vec<T> {}`.
- You can now arbitrarily nest receiver types in the `self` position. E.g. you can
now write `fn foo(self: Box<Box<Self>>) {}`. Previously only `Self`, `&Self`,
`&mut Self`, `Arc<Self>`, `Rc<Self>`, and `Box<Self>` were allowed.
- You can now use any valid identifier in a `format_args` macro.
Previously identifiers starting with an underscore were not allowed.
- Visibility modifiers (e.g. `pub`) are now syntactically allowed on trait items and
enum variants. These are still rejected semantically, but
can be seen and parsed by procedural macros and conditional compilation.
+ Compiler
- Rustc will now warn if you have unused loop `'label`s.
- Removed support for the `i686-unknown-dragonfly` target.
- Added tier 3 support\* for the `riscv64gc-unknown-linux-gnu` target.
- You can now pass an arguments file passing the `@path` syntax
to rustc. Note that the format differs somewhat from what is
found in other tooling; please see the documentation for
more information.
- You can now provide `--extern` flag without a path, indicating that it is
available from the search path or specified with an `-L` flag.
Refer to Rust's [platform support page][forge-platform-support] for more
information on Rust's tiered platform support.
+ Libraries
- The `core::panic` module is now stable. It was already stable
through `std`.
- `NonZero*` numerics now implement `From<NonZero*>` if it's a smaller integer
width. E.g. `NonZeroU16` now implements `From<NonZeroU8>`.
- `MaybeUninit<T>` now implements `fmt::Debug`.
+ Stabilized APIs
- `Result::map_or`
- `Result::map_or_else`
- `std::rc::Weak::weak_count`
- `std::rc::Weak::strong_count`
- `std::sync::Weak::weak_count`
- `std::sync::Weak::strong_count`
+ Cargo
- Cargo will now document all the private items for binary crates
by default.
- `cargo-install` will now reinstall the package if it detects that it is out
of date.
- Cargo.lock now uses a more git friendly format that should help to reduce
merge conflicts.
- You can now override specific dependencies's build settings. E.g.
`[profile.dev.package.image] opt-level = 2` sets the `image` crate's
optimisation level to `2` for debug builds. You can also use
`[profile.<profile>.build-override]` to override build scripts and
their dependencies.
+ Misc
- You can now specify `edition` in documentation code blocks to compile the block
for that edition. E.g. `edition2018` tells rustdoc that the code sample
should be compiled the 2018 edition of Rust.
- You can now provide custom themes to rustdoc with `--theme`, and check the
current theme with `--check-theme`.
- You can use `#[cfg(doc)]` to compile an item when building documentation.
+ Compatibility Notes
- As previously announced 1.41.0 will be the last tier 1 release for 32-bit
Apple targets. This means that the source code is still
available to build, but the targets are no longer being tested and release
binaries for those platforms will no longer be distributed by the Rust project.
Please refer to the linked blog post for more information.
-------------------------------------------------------------------
Fri Jan 17 11:04:12 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package rust
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LLC.
# Copyright (c) 2019 Luke Jones, luke@ljones.dev
#
# All modifications and additions to the file contributed by third parties
@ -17,12 +17,12 @@
#
%global version_current 1.40.0
%global version_previous 1.39.0
%global version_bootstrap 1.39.0
%global version_current 1.41.1
%global version_previous 1.40.0
%global version_bootstrap 1.40.0
# some sub-packages are versioned independently
%global rustfmt_version 1.4.9
%global rustfmt_version 1.4.11
%global clippy_version 0.0.212
# Build the rust target triple.
@ -566,7 +566,6 @@ rm -rf %{buildroot}/home
%dir %{rustlibdir}/%{rust_triple}
%dir %{rustlibdir}/%{rust_triple}/lib
%{rustlibdir}/%{rust_triple}/lib/*.so
%{rustlibdir}/%{rust_triple}/codegen-backends/
%exclude %{_docdir}/%{name}/html
%exclude %{rustlibdir}/src

View File

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

3
rustc-1.41.1-src.tar.xz Normal file
View File

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