rust/src
bors 64187b8374 Auto merge of #92260 - jyn514:less-python-logic, r=Mark-Simulacrum
Move some more bootstrap logic from python to rust

Same rationale as https://github.com/rust-lang/rust/pull/76544; it would be nice to make python entirely optional at some point.

This also removes $ROOT as an option for the build directory; I haven't been using it, and like Alex
said in https://github.com/rust-lang/rust/pull/76544#discussion_r488248930 it seems like a misfeature.

This allows running `cargo run` from src/bootstrap, although that still gives
lots of compile errors if you don't use the beta toolchain. It's not exactly the same as using `x.py`, since it won't have `BOOTSTRAP_DOWNLOAD_RUSTC` set, but it's pretty close. Doing this from the top-level directory requires https://github.com/rust-lang/cargo/issues/7290 to be fixed, or using `cargo run -p bootstrap`.

The next steps for making python optional are to move download-ci-llvm and download-rustc support into rustbuild, likely be shelling out as the python scripts do today.

It would also be nice (although not required) to move submodule support there, but that would require taking bootstrap out of the workspace to avoid errors from crates that haven't been cloned yet.

r? `@Mark-Simulacrum`
2022-03-08 17:04:45 +00:00
..
bootstrap copy over std::path::absolute instead of adding canonicalize hacks 2022-03-07 17:06:31 -05:00
ci Move submodule checkout before msys2 installation. 2022-03-01 10:16:47 -08:00
doc Rollup merge of #94630 - ehuss:remove-tier-2-docs-note, r=Mark-Simulacrum 2022-03-05 12:53:15 -05:00
etc Auto merge of #93626 - wesleywiser:fix_hashmap_natvis, r=michaelwoerister 2022-02-08 10:05:05 +00:00
librustdoc Auto merge of #94706 - matthiaskrgr:rollup-l5erynr, r=matthiaskrgr 2022-03-07 18:06:31 +00:00
llvm-project@e29ac13bc9 Update LLVM submodule 2022-02-16 21:15:30 +01:00
rustdoc-json-types make generic projection types print correctly 2022-03-03 13:01:35 -08:00
test Rollup merge of #94708 - notriddle:notriddle/cargo-toml-warning, r=lcnr 2022-03-08 11:04:54 +01:00
tools Auto merge of #94734 - matthiaskrgr:rollup-28shqhy, r=matthiaskrgr 2022-03-08 10:24:46 +00:00
README.md
stage0.json Bump bootstrap to 1.60 2022-02-25 08:00:24 -05:00
version Bump version to 1.61 2022-02-19 13:40:33 -05: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.