Distro advisory · SUSE Enterprise Storage 6
Security update for rust, rust-cbindgen
SUSE Enterprise Storage 6
What it fixes
Description of the patch:
This update for rust, rust-cbindgen fixes the following issues:
rust was updated for use by Firefox 76ESR.
Update to version 1.43.1
cargo package --list not working with unpublished dependencies.Update to version 1.43.0
&{number} (e.g. &1.0)
not having the type inferred correctly.#[cfg()] can now be used on if
expressions.type Foo: Ord syntactically.self in all fn contexts.fn syntax + cleanup item parsing.item macro fragments can be interpolated into traits,
impls, and extern blocks.
For example, you may now write:
macro_rules! mac_trait {
($i:item) => {
trait T { $i }
}
}
mac_trait! {
fn foo() {}
}
You can now pass multiple lint flags to rustc to override the previous flags.
For example; rustc -D unused -A unused-variables denies
everything in the unused lint group except unused-variables
which is explicitly allowed. However, passing
rustc -A unused-variables -D unused denies everything in
the unused lint group including unused-variables since
the allow flag is specified before the deny flag (and therefore
overridden).
rustc will now prefer your system MinGW libraries over its
bundled libraries if they are available on windows-gnu.
rustc now buffers errors/warnings printed in JSON.
Libraries:
Arc<[T; N]>,…Manual fix · SUSE Enterprise Storage 6
sudo zypper refreshsudo zypper update cargo clippy rls rust rust-analysis rust-src …rpm -q cargo clippy rls rust rust-analysis rust-src …Sources