[PATCH 05/33] rust: remove `RUSTC_HAS_COERCE_POINTEE` and simplify code

Tamir Duberstein tamird at kernel.org
Wed Apr 1 15:59:04 PDT 2026


On Wed, 01 Apr 2026 13:45:12 +0200, Miguel Ojeda <ojeda at kernel.org> wrote:
> With the Rust version bump in place, the `RUSTC_HAS_COERCE_POINTEE`
> Kconfig (automatic) option is always true.
> 
> Thus remove the option and simplify the code.
> 
> In particular, this includes removing our use of the predecessor unstable
> features we used with Rust < 1.84.0 (`coerce_unsized`, `dispatch_from_dyn`
> and `unsize`).
> 
> [...]

Reviewed-by: Tamir Duberstein <tamird at kernel.org>

-- 
Tamir Duberstein <tamird at kernel.org>



More information about the linux-arm-kernel mailing list