rust/src
bors 1dec35a1b0 Auto merge of #96003 - aswild:pr/bootstrap-subcommands-cleanup, r=jyn514
bootstrap: consolidate subcommand parsing and matching

There's several places where the x.py command names are matched as
strings, leading to some inconsistencies and opportunities for cleanup.

* Add Format, Clean, and Setup variants to builder::Kind.
* Use Kind to parse the x.py subcommand name (including aliases)
* Match on the subcommand Kind rather than strings when handling
  options and help text.
* Several subcommands don't display any paths when run with `-h -v` even
  though the help text indicates that they should. Fix this and refactor
  so that manually keeping matches in sync isn't necessary.

Fixes #95937
2022-04-21 10:38:43 +00:00
..
bootstrap Auto merge of #96003 - aswild:pr/bootstrap-subcommands-cleanup, r=jyn514 2022-04-21 10:38:43 +00:00
ci update: actions/checkout@v2 to actions/checkout@v3 2022-04-14 13:20:39 -07:00
doc Rollup merge of #96086 - jsgf:remove-extern-location, r=davidtwco 2022-04-19 14:43:17 +02:00
etc Fix --bless not working anymore in htmldocck 2022-04-17 12:42:27 +02:00
librustdoc Auto merge of #95828 - vacuus:rustdoc-print-where-clause, r=notriddle 2022-04-21 08:12:38 +00:00
llvm-project@fd336816c3 Update LLVM submodule 2022-04-18 10:16:56 +02:00
rustdoc-json-types rustdoc-json-types: implementors -> implementations 2022-03-14 00:05:11 +00:00
test Rollup merge of #96236 - Aaron1011:constraint-debug, r=jackh726 2022-04-21 01:14:17 +02:00
tools Auto merge of #96263 - Dylan-DPC:rollup-0eofl13, r=Dylan-DPC 2022-04-21 02:16:32 +00:00
README.md
stage0.json bump stage0 to the latest beta 2022-04-05 22:24:32 +02:00
version bump version to 1.62.0 2022-04-04 09:21:03 +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.