rust/src
bors b29a1e00f8 Auto merge of - Zalathar:llvm-hash, r=onur-ozkan
bootstrap: Memoize the LLVM rebuild hash to avoid very slow `x check`

Recently I've encountered a massive regression in the performance of re-running `x check` after making no changes.

It used to take around 2 seconds, and now it takes 20-30 seconds. That's quite a hassle when r-a runs it every time I save.

After some poking around, what I've found is that each individual call to `generate_smart_stamp_hash` doesn't take a particularly long time (around 0.5 sec), but it gets called dozens of times during `x check`, and that seems to be what's adding up to 20-30 seconds.

---

https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/Massive.20regression.20in.20no-op.20.60x.20check.60

cc `@onur-ozkan`
2023-11-27 10:22:08 +00:00
..
bootstrap Auto merge of - Zalathar:llvm-hash, r=onur-ozkan 2023-11-27 10:22:08 +00:00
ci Rollup merge of - ecnelises:ppc64_profiler, r=Kobzol 2023-11-22 09:28:50 -08:00
doc Stabilize RFC3324 dyn upcasting coercion 2023-11-22 13:56:36 +01:00
etc Auto merge of - bjorn3:tidy_improvements, r=davidtwco 2023-11-04 02:28:17 +00:00
librustdoc Auto merge of - matthiaskrgr:rollup-sf1booi, r=matthiaskrgr 2023-11-27 08:16:56 +00:00
llvm-project@7738295178 Update to LLVM 17.0.5 2023-11-14 12:06:30 +01:00
rustdoc-json-types rustdoc-json: Rename typedef to type alias 2023-08-21 14:02:34 -07:00
tools rustc: hir().local_def_id_to_hir_id() -> tcx.local_def_id_to_hir_id() cleanup 2023-11-26 12:41:21 +03:00
README.md
stage0.json Bump stage0 to latest 2023-11-15 19:40:51 -05:00
version Bump nightly version 2023-11-11 11:29:33 -05: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.