bootstrap unable to copy rust-llvm-dwp
when cross compiling rustc
#85593
Labels
A-cross
Area: Cross compilation
C-bug
Category: This is a bug.
O-windows
Operating system: Windows
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Similar to #85590, this is an issue with copying files when cross compiling (Linux -> Windows), however a bit more complicated so I didn't proceed with a fix (don't mind implementing one but would need guidance).
From adding debug prints it attempts to copy
to
Looking at the Relevant code it appears to be running
llvm-config
from the host in order to find the copy ofllvm-dwp
to copy, however when cross compiling you can't just copy over the host'sllvm-dwp
. This results in an error due to the fact it does properly respect the exe suffix, which means the file won't exist when cross compiling asllvm-dwp.exe
won't exist in the host copy of llvm's bin directory.The text was updated successfully, but these errors were encountered: