Re: [PATCH 04/33] rust: remove `RUSTC_HAS_SLICE_AS_FLATTENED` and simplify code

From: Tamir Duberstein

Date: Wed Apr 01 2026 - 19:03:12 EST


On Wed, 01 Apr 2026 13:45:11 +0200, Miguel Ojeda <ojeda@xxxxxxxxxx> 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@xxxxxxxxxx>

--
Tamir Duberstein <tamird@xxxxxxxxxx>