x.py build --incremental
fails because of a command too long
#44898
Labels
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-infra
Relevant to the infrastructure team, which will review and decide on the PR/issue.
I'm on Windows, with a x86_64-pc-windows-msvc toolchain. When compiling Rust with
x.py build --incremental
after editinglibrustc_mir/borrow_check.rs
, I have the following error:I think this may be because the command line is too long (41 760 characters).
The longest path in the command line is at 196 characters :
C:\\Users\\zilbuz\\projets\\rust\\build\\x86_64-pc-windows-msvc\\stage0-rustc\\x86_64-pc-windows-msvc\\release\\deps\\rustc_mir-0f20c3c479aba5d8.rustc_mir-dataflow-move_paths-abs_domain.volatile.o
Attached is the complete trace with
RUST_BACKTRACE=1
: build-incremental-fail-full.txtThe text was updated successfully, but these errors were encountered: