Hi! So I'm trying to run
./x.py doc --stage 1, and I'm getting this error:
error: couldn't load codegen backend "$path/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so": "librustc_codegen_ssa-aff88005442ed60f.so: cannot open shared object file: No such file or directory"
Building stage 1 works fine, and AFAIK you should be able to get docs in stage 1, right?
This seems more like a
x.py issue rather than a rustc/rustdoc one. I believe that behind the scenes
x.py sets the appropriate
$LD_LIBRARY_PATH (which explains system where to look for dynamic libraries) and it might be neglecting to do so for rustdoc?
Ah. Hmm, building stage 2 fixed the problem at least
Quite possibly a dependency graph issue