Re: [PATCH] rust: build: remap path to avoid absolute path
From: Miguel Ojeda
Date: Sun Feb 08 2026 - 06:06:56 EST
On Sat, Feb 7, 2026 at 11:59 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> Unfortunately, using remap-path-scope does not give the expected result in older
> Rust compiler versions, so the issue reports that I linked will not be resolved
> with it. It looks like remap-path-scope is working as intended only since
> https://github.com/rust-lang/rust/pull/149709, so Rust 1.94+ (I haven't
> double-checked the exact Rust version, but in latest nightly Rust, the remap is
> working as intended).
Linked the stabilization and noted the fix 1.94 PR that we likely need
and this thread in the `-Zremap-path-scope` entry in
https://github.com/Rust-for-Linux/linux/issues/2.
And since it is now stabilized, moved to
https://github.com/Rust-for-Linux/linux/issues/1223, which I just had
to create due to GitHub's 64k limit on issue text...
Cheers,
Miguel