-
Notifications
You must be signed in to change notification settings - Fork 13.3k
error_index_generator: error while loading shared libraries: libLLVM-11-rust-1.50.0-nightly.so #80096
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
For what it’s worth b32e6e6 is just what I happened to get after running |
I think this is a duplicate of #78778. |
That issue is closed, and its final comment points to this issue. |
I just hit this on the following sequence.
The build finished like so:
|
IMO the proper fix for this is to remove error-index's dependency on rustdoc, either by moving the relevant code out into a library that doesn't use rustc_private, or by duplicating the code altogether. There are other ways to solve this but they'll be more complicated and take longer to compile for no real benefit. |
...or by making it invoke rustdoc-the-binary (through |
@conradludgate you should be able to work around this by adding --stage 2 I think. |
Thanks, that worked |
@camelid I think you're right that the binary will be easier - parsing the markdown requires parsing doctests so that it can generate the "Run" button, and parsing doctests requires all of |
Steps:
profile = "library"
inconfig.toml
. In particular, this impliesdownload-ci-llvm = "if-available"
./x.py doc
Output (on the second run):
The text was updated successfully, but these errors were encountered: