x build library/std compiler/rustc
gives an error that proc_macro isn't built
#99129
Labels
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
We started seeing a strange error to find the
proc-macro
crate during stage1 bootstrapping starting at this rust commit 0a7f2c3.The command we're using is
python3 x.py build library/std compiler/rustc src/tools/cargo
.The errors look like this:
This is currently affecting our experimental rust + llvm@head build bot (https://buildkite.com/llvm-project/rust-llvm-integrate-prototype/builds/11778#0181d3d0-a73a-4852-8a31-edcc608fbb6f), but this error seems more general. I've set up a reproducer on Ubuntu in Docker over at https://github.com/krasimirgg/bootstrap-proc-macro-issue, which triggers this error via
python3 x.py build library/std compiler/rustc src/tools/cargo
using freshly imported rust.It seems like
python3 x.py build library/std compiler/rustc
triggers this error; runningpython3 x.py build library/std
orpython3 x.py build compiler/rustc
by themselves works.Originally posted by @krasimirgg in #44293 (comment)
The text was updated successfully, but these errors were encountered: