Re: make ARCH=arm64 rustdoc fails on a x86 host with SCS enabled
From: Konrad Dybcio
Date: Mon Jul 28 2025 - 05:01:37 EST
On 7/27/25 11:25 AM, Miguel Ojeda wrote:
> On Tue, Jul 22, 2025 at 2:40 PM Miguel Ojeda
> <miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>>
>> Thanks, I can reproduce it -- I will send a patch.
>
> It turns out it is a Rust compiler (`rustdoc`) bug -- filled:
>
> https://github.com/rust-lang/rust/issues/144521
>
> I also sent a fix upstream, with a test similar to the kernel case:
>
> https://github.com/rust-lang/rust/pull/144523
>
> And this is the patch to workaround it in the kernel for the time being:
>
> https://lore.kernel.org/rust-for-linux/20250727092317.2930617-1-ojeda@xxxxxxxxxx/
Thanks for taking care of this!
Konrad