rust/src
Dylan DPC f631293565
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
2020-09-16 12:34:29 +02:00
..
bootstrap Rollup merge of #76717 - ehuss:fix-rustc-book-libdir, r=Mark-Simulacrum 2020-09-16 12:34:29 +02:00
build_helper cleanup: Remove duplicate library names from Cargo.tomls 2020-08-30 22:57:54 +03:00
ci Rollup merge of #76681 - tshepang:unused, r=Mark-Simulacrum 2020-09-16 12:34:15 +02:00
doc Rollup merge of #76675 - lzutao:asm_doc, r=Amanieu 2020-09-16 12:34:14 +02:00
etc Implement HashSet in terms of hashbrown::HashSet 2020-09-08 17:24:23 -07:00
librustdoc Rollup merge of #76641 - nox:pointee-random-stuff, r=eddyb 2020-09-16 08:25:00 +02:00
llvm-project@833dd1e3d4 Update llvm-project to include PR 73 2020-09-05 12:49:17 -07:00
test Rollup merge of #76699 - lcnr:const-infer-err, r=varkor 2020-09-16 12:34:21 +02:00
tools Rollup merge of #76717 - ehuss:fix-rustc-book-libdir, r=Mark-Simulacrum 2020-09-16 12:34:29 +02:00
README.md Update README.md 2020-08-30 13:40:11 -05:00
stage0.txt bump version to 1.48 2020-08-26 10:16:59 +02:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.