-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error_index_generator: error while loading shared libraries: libLLVM-11-rust-1.50.0-nightly.so #80096
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: