I'm trying to get started contributing to the compile for https://github.com/rust-lang/rust/issues/66758. I ran
./x.py test src/test/ui/consts --stage 1 about an hour ago and that worked fine (although it took a while ^^). However, since then I updated
nightly and I'm now getting compile errors when building stage 1:
cargo:warning=In file included from ../rustllvm/PassWrapper.cpp:6:0: cargo:warning=../rustllvm/rustllvm.h:1:10: fatal error: llvm-c/BitReader.h: No such file or directory cargo:warning= #include "llvm-c/BitReader.h" cargo:warning= ^~~~~~~~~~~~~~~~~~~~
What am I doing wrong?
Full error: https://pastebin.com/pbnpgmK9
@Joshua Nelson that seems bad... not sure why updating nightly has any effect tho
try deleting your target and build directories
(you'll need to rebuild llvm)
Rebuilding now, I'll let you know how it goes.
That fixed it :) No idea what went wrong but it's working now, thanks for the help!