On Mon, 06 Apr 2026 01:52:37 +0200, Miguel Ojeda <[email protected]> wrote: > Commit 8cf5b3f83614 ("Revert "kbuild, rust: use -fremap-path-prefix > to make paths relative"") removed `--remap-path-prefix` from the build > system, so the workarounds are not needed anymore. > > Thus remove them. > > Note that the flag has landed again in parallel in this cycle in > commit dda135077ecc ("rust: build: remap path to avoid absolute path"), > together with `--remap-path-scope=macro` [1]. However, they are gated on > `rustc-option-yn, --remap-path-scope=macro`, which means they are both > only passed starting with Rust 1.95.0 [2]: > > [...]
Reviewed-by: Tamir Duberstein <[email protected]> -- Tamir Duberstein <[email protected]>
