rust/src
Stuart Cook 62b72bd545
Rollup merge of #147189 - yotamofek:pr/rustdoc/highlight-optimizations-2, r=GuillaumeGomez
Replace `rustc_span::Span` with a stripped down version for librustdoc's highlighter

While profiling rustdoc's syntax highlighter, I noticed a lot of time being spent in the `Span` interner, due to the highlighter creating a lot of (new) spans.
Since the only data from the `Span` that we use is the `hi` and `lo` byte positions - I replaced the regular `Span` with a simple one with two fields, and in my benchmarks it seemed to make a big dent in the highlighter's perf, so thought I would see what the perf runner says.
2025-10-01 22:15:00 +10:00
..
bootstrap Rollup merge of #147189 - yotamofek:pr/rustdoc/highlight-optimizations-2, r=GuillaumeGomez 2025-10-01 22:15:00 +10:00
build_helper Include additional hashes in src/stage0 2025-09-27 08:43:22 -04:00
ci Remove usage of compiletest-use-stage0-libtest from CI 2025-09-30 16:08:48 +02:00
doc Auto merge of #146376 - durin42:dwo-specify-path, r=davidtwco 2025-09-29 15:06:55 +00:00
etc Add auto extra-checks in pre-push script 2025-09-27 17:39:06 +01:00
gcc@4e995bd73c Update GCC submodule 2025-08-26 18:09:42 +02:00
librustdoc Replace rustc_span::Span with a stripped down version for librustdoc's highlighter 2025-09-30 22:01:30 +03:00
llvm-project@8c30b9c509 Update LLVM to 21.1.2 2025-09-24 07:34:22 +08:00
rustc-std-workspace
rustdoc-json-types Add new doc(attribute = "...") attribute 2025-08-28 15:56:29 +02:00
tools Pass around DirectiveLine instead of bare strings 2025-09-30 12:52:38 +10:00
README.md
stage0 Update stage0 per previous commmit 2025-09-27 08:45:40 -04:00
version Bump version to 1.92.0 2025-09-13 10:09:15 -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.