rust/src
Matthias Krüger 20cf5ade15
Rollup merge of #128215 - ehuss:update-reference, r=Kobzol
Update the reference

This updates the reference to use the new mdbook-spec preprocessor, which is a Cargo library inside the reference submodule.

Note that this PR contains a bunch of bootstrap cleanup commits to assist with making sure the submodules are working correctly. All of the cleanup PRs should have a description in their commit. I'd be happy to move those to a separate PR if that makes review easier.

The main changes for the reference are:
- Move the `doc::Reference` bootstrap step out of the generic macro into a custom step.
    - This step needs to build rustdoc because the new mdbook-spec plugin uses rustdoc for generating links.
    - PATH is updated so that the rustdoc binary can be found.
- rustbook now includes the mdbook-spec plugin as a dependency.
- rustbook enables the mdbook-spec preprocessor.

I did a bunch of testing with the various commands and setups, such as:
- `submodules=true` and `submodules=false`
- having all submodules deinitialized
- not in a git repository

However, there are probably thousands of different permutations of different commands, settings, and environments, so there is a chance I'm missing something.
2024-07-28 13:42:19 +02:00
..
bootstrap Rollup merge of #128215 - ehuss:update-reference, r=Kobzol 2024-07-28 13:42:19 +02:00
ci CI: do not respect custom try jobs for unrolled perf builds 2024-07-26 13:30:52 +02:00
doc Rollup merge of #128215 - ehuss:update-reference, r=Kobzol 2024-07-28 13:42:19 +02:00
etc Rewrite test-float-parse in Rust 2024-07-20 11:39:34 -05:00
librustdoc Rollup merge of #128210 - lolbinarycat:rustdoc-search-title, r=notriddle,GuillaumeGomez 2024-07-26 19:03:05 -04:00
llvm-project@c54cff0e6e Update LLVM submodule 2024-07-05 22:06:57 +08:00
rustdoc-json-types Add rustdoc-json support for use<> 2024-07-12 05:24:51 -04:00
tools Rollup merge of #128215 - ehuss:update-reference, r=Kobzol 2024-07-28 13:42:19 +02:00
README.md
stage0 bump stage0 compiler 2024-06-11 15:10:03 +02:00
version Bump to 1.82 2024-07-20 10:30:39 -04:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

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