On Tue, Aug 19, 2025 at 10:40 AM Naresh Kamboju
<naresh.kamb...@linaro.org> wrote:
>
> Build regressions were detected on multiple architectures (arm, arm64,
> riscv) with the Linux next-20250818 tag when building with Rust-enabled
> configurations (rust-gcc and rust-clang) from selftests/rust/config.
>
> Duplicate definition of ARCH_KMALLOC_MINALIGN in Rust bindings is
> causing build failures across affected toolchains.

Thanks a lot Naresh, this was reported already by Thorsten and me yesterday:

    
https://lore.kernel.org/rust-for-linux/8aa05f08-ef6e-4dfe-9453-beaab7b3c...@leemhuis.info/

A patch from Danilo is in flight to fix it:

    
https://lore.kernel.org/rust-for-linux/20250818180923.192042-1-d...@kernel.org/

If you could test it, that would be great. I assume Danilo will apply
the patch on top of alloc-next, since the issue is just inside that
branch that goes into linux-next.

Thanks!

Cheers,
Miguel

Reply via email to