rust/src
Matthias Krüger 9451a6132a
Rollup merge of #134260 - GuillaumeGomez:doctest-attrs, r=notriddle
Correctly handle comments in attributes in doctests source code

Fixes https://github.com/rust-lang/rust/issues/134221.

The problem was that attributes are "inlined" (backlines are stripped), then when there is an inline comment inside it, the attribute is never considered valid (since unclosed). Fix was to simply put back backlines in case it's a multiline attribute.

r? ``@notriddle``
2024-12-16 20:00:17 +01:00
..
bootstrap bootstrap: make ./x test error-index work 2024-12-15 09:55:44 +01:00
build_helper move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
ci Rollup merge of #134124 - MarcoIeni:split-llvm-jobs, r=Kobzol 2024-12-16 20:00:09 +01:00
doc Rollup merge of #133293 - psumbera:solaris-maintainer, r=workingjubilee,jieyouxu,tgross35 2024-12-14 23:56:29 +01:00
etc Auto merge of #133134 - Walnut356:synth_prov, r=Mark-Simulacrum 2024-12-08 19:30:33 +00:00
gcc@fd3498bff0 Update GCC version 2024-09-06 16:01:46 +02:00
librustdoc Rollup merge of #134260 - GuillaumeGomez:doctest-attrs, r=notriddle 2024-12-16 20:00:17 +01:00
llvm-project@1268e87bdb Update LLVM to 19.1.5 2024-12-03 21:12:47 +08:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types rustdoc-json: Include safety of statics 2024-12-01 21:39:58 +00:00
tools Auto merge of #134377 - lnicola:sync-from-ra, r=lnicola 2024-12-16 13:07:24 +00:00
README.md
stage0 bump stage0 2024-11-27 12:12:23 +00:00
version Bump to 1.85 2024-11-22 11:08:33 +00: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.