rust/src
Stuart Cook 9d7265104c
Rollup merge of #145460 - Kobzol:bootstrap-speedup-copy-src-dirs, r=jieyouxu
Speedup `copy_src_dirs` in bootstrap

I was kinda offended by how slow it was. Just the `copy_src_dirs` part took ~3s locally in the `x dist rustc-src` step. In release mode it was just 1s, but that's kind of cheating (I wonder if we should build bootstrap in release mode on CI though...).

Did some basic optimizations to bring it down to ~1s also in debug mode.

Maybe it's overkill, due to https://github.com/rust-lang/rust/pull/145455. Up to you whether we should merge it or close it :)

r? `````````@jieyouxu`````````
2025-08-18 15:31:14 +10:00
..
bootstrap Optimize copy_src_dirs 2025-08-16 08:57:05 +02:00
build_helper integrate build_helper::npm into js checks and package.json usage 2025-07-19 14:56:42 -05:00
ci Rollup merge of #145311 - marcoieni:clean-disk-in-background-windows, r=Kobzol 2025-08-15 16:03:56 +02:00
doc Rollup merge of #142640 - Sa4dUs:ad-intrinsic, r=ZuseZ4 2025-08-15 16:16:30 +10:00
etc bootstrap: Update completions for new --timings argument 2025-08-13 22:53:50 -07:00
gcc@04ce66d8c9 Update src/gcc submodule to 04ce66d8c918de9273bd7101638ad8724edf5e21 2025-05-14 18:02:02 +02:00
librustdoc Rollup merge of #144838 - Kivooeo:doc-subtype, r=notriddle 2025-08-18 15:31:09 +10:00
llvm-project@9a1f898064 Update to LLVM 21.1.0 rc3 2025-08-12 12:01:55 +02:00
rustc-std-workspace
rustdoc-json-types rustdoc-json: Move #[macro_export] from Other to it's own variant 2025-07-30 19:57:32 +00:00
tools Rollup merge of #145451 - WaffleLapkin:norailoveyou, r=Noratrieb 2025-08-18 15:31:13 +10:00
README.md
stage0 bump stage0 2025-08-06 13:22:38 +01:00
version bump version 2025-08-01 09:04:01 +01: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.