[PATCH 04/33] rust: remove `RUSTC_HAS_SLICE_AS_FLATTENED` and simplify code
Tamir Duberstein
tamird at kernel.org
Wed Apr 1 15:59:04 PDT 2026
On Wed, 01 Apr 2026 13:45:11 +0200, Miguel Ojeda <ojeda at kernel.org> wrote:
> With the Rust version bump in place, the `RUSTC_HAS_SLICE_AS_FLATTENED`
> Kconfig (automatic) option is always true.
>
> Thus remove the option and simplify the code.
>
> In particular, this includes removing the `slice` module which contained
> the temporary slice helpers, i.e. the `AsFlattened` extension trait and
> its `impl`s.
>
> [...]
Reviewed-by: Tamir Duberstein <tamird at kernel.org>
--
Tamir Duberstein <tamird at kernel.org>
More information about the linux-arm-kernel
mailing list