diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-09-16 12:34:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-16 12:34:29 +0200 |
| commit | f63129356537822c3c108ecea8cda4bc741557b5 (patch) | |
| tree | 05487dfb7b864c32f3391dcd8d964e7f86459a39 /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | b25261f40ce029af95a9146783eace53441d2e71 (diff) | |
| parent | 9dad90814543bdd10b1989020edad70939b0e869 (diff) | |
| download | rust-f63129356537822c3c108ecea8cda4bc741557b5.tar.gz rust-f63129356537822c3c108ecea8cda4bc741557b5.zip | |
Rollup merge of #76717 - ehuss:fix-rustc-book-libdir, r=Mark-Simulacrum
Fix generating rustc docs with non-default lib directory. If `libdir` is set in `config.toml`, then the tool to generate the rustc docs was unable to run `rustc` because it could not find the shared libraries. The solution is to set the dylib search path to include the libdir. I changed the API of `add_rustc_lib_path` to take `Command` instead of `Cargo` to try to share the code in several places. This is how it worked before https://github.com/rust-lang/rust/pull/64316, and I think this still retains the spirit of that change. Fixes #76702
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
