linux/rust/kernel/alloc
Miguel Ojeda 4ab22c543f rust: remove RUSTC_HAS_COERCE_POINTEE and simplify code
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@kernel.org>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260405235309.418950-11-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2026-04-07 10:00:23 +02:00
..
allocator rust: alloc: implement VmallocPageIter 2025-09-04 23:33:27 +02:00
kvec rust: kernel: mark as #[inline] all From::from()s for Error 2026-03-27 12:49:00 +01:00
allocator.rs Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
kbox.rs rust: remove RUSTC_HAS_COERCE_POINTEE and simplify code 2026-04-07 10:00:23 +02:00
kvec.rs rust: alloc: employ a trailing comment to keep vertical layout 2025-10-17 00:56:20 +02:00
layout.rs drm next for 6.18-rc1 2025-10-02 12:47:25 -07:00