Re: [PATCH] kbuild, rust: use -fremap-path-prefix to make paths relative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 13, 2025 at 1:35 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> Yes, I pushed.

I have noticed in linux-next that the flag triggers an ICE when
building the docs with `O=` -- reduced and reported to upstream here:

    https://github.com/rust-lang/rust/issues/138520

Moreover, the flag was only added (to `rustdoc`, not `rustc`) starting
with 1.81.0, so we couldn't pass it anyway unconditionally to
`rustdoc` (it is OK for `rustc`).

In the meantime, the easiest to avoid both issues is to avoid passing
the flag when building docs -- I have sent a patch:

    https://lore.kernel.org/rust-for-linux/20250314213333.2230670-1-ojeda@xxxxxxxxxx/

Cheers,
Miguel





[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux