shield Recommended update for rust
SUSE-SLE-Module-Development-Tools-15-SP3-2021-2855


This update for rust fixes the following issues: This ships the new parallel rust 1.54 version. Version 1.54.0 (2021-07-29) Language: - You can now use macros for values in built-in attribute macros. While a seemingly minor addition on its own, this enables a lot of powerful functionality when combined correctly. Most notably you can now include external documentation in your crate by writing the following. ```rust #![doc = include_str!("README.md")] ``` You can also use this to include auto-generated modules: ```rust #[path = concat!(env!("OUT_DIR"), "/generated.rs")] mod generated; ``` - You can now cast between unsized slice types (and types which contain unsized slices) in `const fn`. - You can now use multiple generic lifetimes with `impl Trait` where the lifetimes don't explicitly outlive another. In code this means that you can now have `impl Trait<'a, 'b>` where as before you could only have `impl Trait<'a, 'b> where 'b: 'a`. Compiler: - Rustc will now search for custom JSON targets in `/lib/rustlib/<target-triple>/target.json` where `/` is the "sysroot" directory. You can find your sysroot directory by running `rustc --print sysroot`. - Added `wasm` as a `target_family` for WebAssembly platforms. - You can now use `#[target_feature]` on safe functions when targeting WebAssembly platforms. - Improved debugger output for enums on Windows MSVC platforms. - Added tier 3\* support for `bpfel-unknown-none` and `bpfeb-unknown-none`. \* Refer to Rust's platform support page for more information on Rust's tiered platform support. Libraries: - `panic::panic_any` will now `#[track_caller]`. - Added `OutOfMemory` as a variant of `io::ErrorKind`. - `proc_macro::Literal` now implements `FromStr`. - The implementations of vendor intrinsics in core::arch have been significantly refactored. The main user-visible changes are a 50% reduction in the size of libcore.rlib and stricter validation of constant operands passed to intrinsics. The latter is technically a breaking change, but allows Rust to more closely match the C vendor intrinsics API. Stabilized APIs: - BTreeMap::into_keys - BTreeMap::into_values - HashMap::into_keys - HashMap::into_values - arch::wasm32 - VecDeque::binary_search - VecDeque::binary_search_by - VecDeque::binary_search_by_key - VecDeque::partition_point Cargo: - Added the `--prune <spec>` option to `cargo-tree` to remove a package from the dependency graph. - Added the `--depth` option to `cargo-tree` to print only to a certain depth in the tree. - Added the `no-proc-macro` value to `cargo-tree --edges` to hide procedural macro dependencies. - A new environment variable named `CARGO_TARGET_TMPDIR` is available. This variable points to a directory that integration tests and benches can use as a "scratchpad" for testing filesystem operations.

  • Release Date
    Aug 27 2021
  • References
  • Type
    recommended
  • Severity
    moderate

cloud_download Downloads

Development Tools Module 15.3 s390x
  • Packages
    cargo
    The Rust package manager
    1.54.0-21.6.2 lock rpm
    cargo1.54
    The Rust package manager
    1.54.0-7.3.1 lock rpm
    rust
    A systems programming language
    1.54.0-21.6.2 lock rpm lock src
    rust-gdb
    Gdb integration for rust binaries
    1.54.0-21.6.2 lock rpm
    rust1.54
    A systems programming language
    1.54.0-7.3.1 lock rpm lock src
    rust1.54-gdb
    Gdb integration for rust binaries
    1.54.0-7.3.1 lock rpm
    rust1.54-src
    Sources for the Rust standard library
    1.54.0-7.3.1 lock rpm
Development Tools Module 15.3 aarch64
  • Packages
    cargo
    The Rust package manager
    1.54.0-21.6.2 lock rpm
    cargo1.54
    The Rust package manager
    1.54.0-7.3.1 lock rpm
    cargo1.54-doc
    Documentation for Cargo
    1.54.0-7.3.1 lock rpm
    rls
    Language server for Rust lang
    1.54.0-21.6.2 lock rpm
    rls1.54
    Language server for Rust lang
    1.54.0-7.3.1 lock rpm
    rust
    A systems programming language
    1.54.0-21.6.2 lock rpm lock src
    rust-gdb
    Gdb integration for rust binaries
    1.54.0-21.6.2 lock rpm
    rust1.54
    A systems programming language
    1.54.0-7.3.1 lock rpm lock src
    rust1.54-analysis
    Compiler analysis data for the Rust standard library
    1.54.0-7.3.1 lock rpm
    rust1.54-doc
    Rust documentation
    1.54.0-7.3.1 lock rpm
    rust1.54-gdb
    Gdb integration for rust binaries
    1.54.0-7.3.1 lock rpm
    rust1.54-src
    Sources for the Rust standard library
    1.54.0-7.3.1 lock rpm
Development Tools Module 15.3 ppc64le
  • Packages
    cargo
    The Rust package manager
    1.54.0-21.6.2 lock rpm
    cargo1.54
    The Rust package manager
    1.54.0-7.3.1 lock rpm
    rust
    A systems programming language
    1.54.0-21.6.2 lock rpm lock src
    rust-gdb
    Gdb integration for rust binaries
    1.54.0-21.6.2 lock rpm
    rust1.54
    A systems programming language
    1.54.0-7.3.1 lock rpm lock src
    rust1.54-gdb
    Gdb integration for rust binaries
    1.54.0-7.3.1 lock rpm
    rust1.54-src
    Sources for the Rust standard library
    1.54.0-7.3.1 lock rpm
Development Tools Module 15.3 x86_64
  • Packages
    cargo
    The Rust package manager
    1.54.0-21.6.2 lock rpm
    1.54.0-21.6.2 lock rpm
    cargo1.54
    The Rust package manager
    1.54.0-7.3.1 lock rpm
    cargo1.54-doc
    Documentation for Cargo
    1.54.0-7.3.1 lock rpm
    rls
    Language server for Rust lang
    1.54.0-21.6.2 lock rpm
    rls1.54
    Language server for Rust lang
    1.54.0-7.3.1 lock rpm
    rust
    A systems programming language
    1.54.0-21.6.2 lock rpm lock src
    1.54.0-21.6.2 lock rpm lock src
    rust-gdb
    Gdb integration for rust binaries
    1.54.0-21.6.2 lock rpm
    1.54.0-21.6.2 lock rpm
    rust1.54
    A systems programming language
    1.54.0-7.3.1 lock rpm lock src
    rust1.54-analysis
    Compiler analysis data for the Rust standard library
    1.54.0-7.3.1 lock rpm
    rust1.54-doc
    Rust documentation
    1.54.0-7.3.1 lock rpm
    rust1.54-gdb
    Gdb integration for rust binaries
    1.54.0-7.3.1 lock rpm
    rust1.54-src
    Sources for the Rust standard library
    1.54.0-7.3.1 lock rpm