13 Commits

Author SHA256 Message Date
200a3f7867 Accepting request 1057886 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/1057886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust1.65?expand=0&rev=4
2023-01-12 21:42:35 +00:00
72f3d1127e Accepting request 1057883 from home:firstyear:branches:devel:languages:rust
- Disable src tidy test as it is incompatible with cve patches

OBS-URL: https://build.opensuse.org/request/show/1057883
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=12
2023-01-12 05:45:13 +00:00
04b3f87ae9 Accepting request 1057686 from home:firstyear:branches:devel:languages:rust
- bsc#1206930 - CVE-2022-46176 - Enforce that cargo checks ssh host keys.
  * 0001-CVE-2022-46176-verify-ssh-host-keys-in-cargo.patch
  * 0002-Rebuild-Cargo.lock.patch

OBS-URL: https://build.opensuse.org/request/show/1057686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=11
2023-01-11 03:41:08 +00:00
c218ee544b Accepting request 1041296 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/1041296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust1.65?expand=0&rev=3
2022-12-09 12:15:30 +00:00
40d1761745 Accepting request 1041106 from home:aplanas:branches:devel:languages:rust
- Add NoSource for the bootstrap compilers.  This generate a nosrc.rpm
  that contains only the src.tar.xz
  + According to the documentation NoSource can be a list of
    space-separated numbers, but the source code of the RPM
    parseUnsignedNum (buid/misc.c) should that this is not the case.
- Drop .cargo/config creation as a workaround for vendored components
  https://github.com/rust-lang/rust/issues/90764
- Fix incorrect SLE/Leap version check for gcc
- Fix CI test fix that OBS removed
Version 1.65.0 (2022-11-03)
==========================
Language
--------
- [Error on `as` casts of enums with `#[non_exhaustive]` variants](https://github.com/rust-lang/rust/pull/92744/)
- [Stabilize `let else`](https://github.com/rust-lang/rust/pull/93628/)
- [Stabilize generic associated types (GATs)](https://github.com/rust-lang/rust/pull/96709/)
- [Add lints `let_underscore_drop`, `let_underscore_lock`, and `let_underscore_must_use` from Clippy](https://github.com/rust-lang/rust/pull/97739/)
- [Stabilize `break`ing from arbitrary labeled blocks ("label-break-value")](https://github.com/rust-lang/rust/pull/99332/)
- [Uninitialized integers, floats, and raw pointers are now considered immediate UB](https://github.com/rust-lang/rust/pull/98919/).
  Usage of `MaybeUninit` is the correct way to work with uninitialized memory.
- [Stabilize raw-dylib for Windows x86_64, aarch64, and thumbv7a](https://github.com/rust-lang/rust/pull/99916/)
- [Do not allow `Drop` impl on foreign ADTs](https://github.com/rust-lang/rust/pull/99576/)
Compiler
--------
- [Stabilize -Csplit-debuginfo on Linux](https://github.com/rust-lang/rust/pull/98051/)
- [Use niche-filling optimization even when multiple variants have data](https://github.com/rust-lang/rust/pull/94075/)
- [Associated type projections are now verified to be well-formed prior to resolving the underlying type](https://github.com/rust-lang/rust/pull/99217/#issuecomment-1209365630)
- [Stringify non-shorthand visibility correctly](https://github.com/rust-lang/rust/pull/100350/)
- [Normalize struct field types when unsizing](https://github.com/rust-lang/rust/pull/101831/)
- [Update to LLVM 15](https://github.com/rust-lang/rust/pull/99464/)
- [Fix aarch64 call abi to correctly zeroext when needed](https://github.com/rust-lang/rust/pull/97800/)
- [debuginfo: Generalize C++-like encoding for enums](https://github.com/rust-lang/rust/pull/98393/)
- [Add `special_module_name` lint](https://github.com/rust-lang/rust/pull/94467/)
- [Add support for generating unique profraw files by default when using `-C instrument-coverage`](https://github.com/rust-lang/rust/pull/100384/)
- [Allow dynamic linking for iOS/tvOS targets](https://github.com/rust-lang/rust/pull/100636/)
New targets:
- [Add armv4t-none-eabi as a tier 3 target](https://github.com/rust-lang/rust/pull/100244/)
- [Add powerpc64-unknown-openbsd and riscv64-unknown-openbsd as tier 3 targets](https://github.com/rust-lang/rust/pull/101025/)
  - Refer to Rust's [platform support page][platform-support-doc] for more
    information on Rust's tiered platform support.
Libraries
---------
- [Don't generate `PartialEq::ne` in derive(PartialEq)](https://github.com/rust-lang/rust/pull/98655/)
- [Windows RNG: Use `BCRYPT_RNG_ALG_HANDLE` by default](https://github.com/rust-lang/rust/pull/101325/)
- [Forbid mixing `System` with direct system allocator calls](https://github.com/rust-lang/rust/pull/101394/)
- [Document no support for writing to non-blocking stdio/stderr](https://github.com/rust-lang/rust/pull/101416/)
- [`std::layout::Layout` size must not overflow `isize::MAX` when rounded up to `align`](https://github.com/rust-lang/rust/pull/95295)
  This also changes the safety conditions on `Layout::from_size_align_unchecked`.
Stabilized APIs
---------------
- [`std::backtrace::Backtrace`](https://doc.rust-lang.org/stable/std/backtrace/struct.Backtrace.html)
- [`Bound::as_ref`](https://doc.rust-lang.org/stable/std/ops/enum.Bound.html#method.as_ref)
- [`std::io::read_to_string`](https://doc.rust-lang.org/stable/std/io/fn.read_to_string.html)
- [`<*const T>::cast_mut`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.cast_mut)
- [`<*mut T>::cast_const`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.cast_const)
These APIs are now stable in const contexts:
- [`<*const T>::offset_from`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.offset_from)
- [`<*mut T>::offset_from`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.offset_from)
Cargo
-----
- [Apply GitHub fast path even for partial hashes](https://github.com/rust-lang/cargo/pull/10807/)
- [Do not add home bin path to PATH if it's already there](https://github.com/rust-lang/cargo/pull/11023/)
- [Take priority into account within the pending queue](https://github.com/rust-lang/cargo/pull/11032/).
  This slightly optimizes job scheduling by Cargo, with typically small improvements on larger crate graph builds.
Compatibility Notes
-------------------
- [`std::layout::Layout` size must not overflow `isize::MAX` when rounded up to `align`](https://github.com/rust-lang/rust/pull/95295).
  This also changes the safety conditions on `Layout::from_size_align_unchecked`.
- [`PollFn` now only implements `Unpin` if the closure is `Unpin`](https://github.com/rust-lang/rust/pull/102737).
  This is a possible breaking change if users were relying on the blanket unpin implementation.
  See discussion on the PR for details of why this change was made.
- [Drop ExactSizeIterator impl from std::char::EscapeAscii](https://github.com/rust-lang/rust/pull/99880)
  This is a backwards-incompatible change to the standard library's surface
  area, but is unlikely to affect real world usage.
- [Do not consider a single repeated lifetime eligible for elision in the return type](https://github.com/rust-lang/rust/pull/103450)
  This behavior was unintentionally changed in 1.64.0, and this release reverts that change by making this an error again.
- [Reenable disabled early syntax gates as future-incompatibility lints](https://github.com/rust-lang/rust/pull/99935/)
- [Update the minimum external LLVM to 13](https://github.com/rust-lang/rust/pull/100460/)
- [Don't duplicate file descriptors into stdio fds](https://github.com/rust-lang/rust/pull/101426/)
- [Sunset RLS](https://github.com/rust-lang/rust/pull/100863/)
- [Deny usage of `#![cfg_attr(..., crate_type = ...)]` to set the crate type](https://github.com/rust-lang/rust/pull/99784/)
  This strengthens the forward compatibility lint deprecated_cfg_attr_crate_type_name to deny.
- [`llvm-has-rust-patches` allows setting the build system to treat the LLVM as having Rust-specific patches](https://github.com/rust-lang/rust/pull/101072)
  This option may need to be set for distributions that are building Rust with a patched LLVM via `llvm-config`, not the built-in LLVM.

OBS-URL: https://build.opensuse.org/request/show/1041106
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=9
2022-12-08 02:52:41 +00:00
71ebe12681 Accepting request 1039437 from home:firstyear:branches:devel:languages:rust
- Revert bootstrap compiler split as it caused build failures

OBS-URL: https://build.opensuse.org/request/show/1039437
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=8
2022-12-02 01:24:45 +00:00
84d909e83a Accepting request 1036225 from home:aplanas:branches:devel:languages:rust
- Rust bootstrap compiler 1.65.0 for aarch64
- Rust bootstrap compiler 1.65.0 for arm
- Rust bootstrap compiler 1.65.0 for armv7
- Rust bootstrap compiler 1.65.0 for i686
- Rust bootstrap compiler 1.65.0 for powerpc
- Rust bootstrap compiler 1.65.0 for powerpc64
- Rust bootstrap compiler 1.65.0 for powerpc64le
- Rust bootstrap compiler 1.65.0 for riscv64gc
- Rust bootstrap compiler 1.65.0 for s390x
- Rust bootstrap compiler 1.65.0 for x86_64
- Split the bootstrap compilers into different packages

OBS-URL: https://build.opensuse.org/request/show/1036225
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=7
2022-11-17 22:46:42 +00:00
17e4717035 Accepting request 1034955 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/1034955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust1.65?expand=0&rev=2
2022-11-10 13:19:35 +00:00
10ba05a173 Accepting request 1034706 from home:aplanas:branches:devel:languages:rust
- Drop .cargo/config creation as a workaround for vendored components
  https://github.com/rust-lang/rust/issues/90764

OBS-URL: https://build.opensuse.org/request/show/1034706
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=5
2022-11-09 21:37:45 +00:00
d0c12bdcf7 Accepting request 1034647 from home:firstyear:branches:devel:languages:rust
- Fix incorrect SLE/Leap version check for gcc

OBS-URL: https://build.opensuse.org/request/show/1034647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=4
2022-11-09 01:05:42 +00:00
4bd30ed1fc Accepting request 1034395 from devel:languages:rust
Update to rust1.65 for Factory

OBS-URL: https://build.opensuse.org/request/show/1034395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust1.65?expand=0&rev=1
2022-11-08 09:55:01 +00:00
0c0dc9b9d6 Accepting request 1033888 from home:firstyear:branches:devel:languages:rust
- Fix CI test fix that OBS removed

OBS-URL: https://build.opensuse.org/request/show/1033888
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=2
2022-11-07 04:39:25 +00:00
155b608001 Accepting request 1033424 from home:firstyear:branches:devel:languages:rust
Add rust1.65

OBS-URL: https://build.opensuse.org/request/show/1033424
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust1.65?expand=0&rev=1
2022-11-04 05:11:13 +00:00