SUSE-CU-2023:3972-1: Recommended update of bci/rust
sle-updates at lists.suse.com
sle-updates at lists.suse.com
Sat Dec 2 08:10:10 UTC 2023
SUSE Container Update Advisory: bci/rust
-----------------------------------------------------------------
Container Advisory ID : SUSE-CU-2023:3972-1
Container Tags : bci/rust:1.73 , bci/rust:1.73-2.2.1 , bci/rust:oldstable , bci/rust:oldstable-2.2.1
Container Release : 2.1
Severity : moderate
Type : recommended
References :
-----------------------------------------------------------------
The container bci/rust was updated. The following patches have been included in this update:
-----------------------------------------------------------------
Advisory ID: SUSE-RU-2023:4067-1
Released: Thu Oct 12 20:05:00 2023
Summary: Recommended update for rust, rust1.73
Type: recommended
Severity: moderate
References:
This update for rust, rust1.73 fixes the following issues:
Changes in rust1.73:
Version 1.73.0 (2023-10-05)
==========================
Language
--------
- Uplift clippy::fn_null_check lint as useless_ptr_null_checks.
- Make noop_method_call warn by default.
- Support interpolated block for try and async in macros.
- Make unconditional_recursion lint detect recursive drops.
- Future compatibility warning for some impls being incorrectly considered not overlapping.
- The invalid_reference_casting lint is now **deny-by-default** (instead of allow-by-default)
Compiler
--------
- Write version information in a .comment section like GCC/Clang.
- Add documentation on v0 symbol mangling.
- Stabilize extern 'thiscall' and 'thiscall-unwind' ABIs.
- Only check outlives goals on impl compared to trait.
- Infer type in irrefutable slice patterns with fixed length as array.
- Discard default auto trait impls if explicit ones exist.
- Add several new tier 3 targets:
- aarch64-unknown-teeos
- csky-unknown-linux-gnuabiv2
- riscv64-linux-android
- riscv64gc-unknown-hermit
- x86_64-unikraft-linux-musl
- x86_64-unknown-linux-ohos
- Add wasm32-wasi-preview1-threads as a tier 2 target.
Refer to Rust's platform support page
for more information on Rust's tiered platform support.
Libraries
---------
- Add Read, Write and Seek impls for Arc<File>.
- Merge functionality of io::Sink into io::Empty.
- Implement RefUnwindSafe for Backtrace
- Make ExitStatus implement Default
- impl SliceIndex<str> for (Bound<usize>, Bound<usize>)
- Change default panic handler message format.
- Cleaner assert_eq! & assert_ne! panic messages.
- Correct the (deprecated) Android stat struct definitions.
Stabilized APIs
---------------
- Unsigned {integer}::div_ceil https://doc.rust-lang.org/stable/std/primitive.u32.html#method.div_ceil
- Unsigned {integer}::next_multiple_of https://doc.rust-lang.org/stable/std/primitive.u32.html#method.next_multiple_of
- Unsigned {integer}::checked_next_multiple_of https://doc.rust-lang.org/stable/std/primitive.u32.html#method.checked_next_multiple_of
- std::ffi::FromBytesUntilNulError https://doc.rust-lang.org/stable/std/ffi/struct.FromBytesUntilNulError.html
- std::os::unix::fs::chown https://doc.rust-lang.org/stable/std/os/unix/fs/fn.chown.html
- std::os::unix::fs::fchown https://doc.rust-lang.org/stable/std/os/unix/fs/fn.fchown.html
- std::os::unix::fs::lchown https://doc.rust-lang.org/stable/std/os/unix/fs/fn.lchown.html
- LocalKey::<Cell<T>>::get https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.get
- LocalKey::<Cell<T>>::set https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set
- LocalKey::<Cell<T>>::take https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take
- LocalKey::<Cell<T>>::replace https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace
- LocalKey::<RefCell<T>>::with_borrow https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow
- LocalKey::<RefCell<T>>::with_borrow_mut https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.with_borrow_mut
- LocalKey::<RefCell<T>>::set https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.set-1
- LocalKey::<RefCell<T>>::take https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.take-1
- LocalKey::<RefCell<T>>::replace https://doc.rust-lang.org/stable/std/thread/struct.LocalKey.html#method.replace-1
These APIs are now stable in const contexts:
- rc::Weak::new https://doc.rust-lang.org/stable/alloc/rc/struct.Weak.html#method.new
- sync::Weak::new https://doc.rust-lang.org/stable/alloc/sync/struct.Weak.html#method.new
- NonNull::as_ref https://doc.rust-lang.org/stable/core/ptr/struct.NonNull.html#method.as_ref
Cargo
-----
- Encode URL params correctly for SourceId in Cargo.lock.
- Bail out an error when using cargo:: in custom build script.
Compatibility Notes
-------------------
- Update the minimum external LLVM to 15.
- Check for non-defining uses of return position impl Trait.
Changes in rust:
- Update to version 1.73.0 - for details see the rust1.73 package
The following package changes have been done:
- rust1.73-1.73.0-150400.9.3.1 added
- cargo1.73-1.73.0-150400.9.3.1 added
- container:sles15-image-15.0.0-36.5.59 updated
- cargo1.72-1.72.1-150400.9.6.1 removed
- rust1.72-1.72.1-150400.9.6.1 removed
More information about the sle-updates
mailing list