rust/src
bors f2b91ccbc2 Auto merge of #131808 - jdonszelmann:hir-attributes, r=oli-obk,petrochenkov
Hir attributes

This PR needs some explanation, it's somewhat large.

- This is step one as described in https://github.com/rust-lang/compiler-team/issues/796. I've added a new `hir::Attribute` which is a lowered version of `ast::Attribute`. Right now, this has few concrete effects, however every place that after this PR parses a `hir::Attribute` should later get a pre-parsed attribute as described in https://github.com/rust-lang/compiler-team/issues/796 and transitively https://github.com/rust-lang/rust/issues/131229.
- an extension trait `AttributeExt` is added, which is implemented for both `ast::Attribute` and `hir::Atribute`. This makes `hir::Attributes` mostly compatible with code that used to parse `ast::Attribute`. All its methods are also added as inherent methods to avoid having to import the trait everywhere in the compiler.
  - Incremental can not not hash `ast::Attribute` at all.
2024-12-15 22:05:33 +00: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 #134227 - alexcrichton:update-wasi-sdk, r=lqd 2024-12-14 14:07:58 +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 Add hir::Attribute 2024-12-15 19:18:46 +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 #131808 - jdonszelmann:hir-attributes, r=oli-obk,petrochenkov 2024-12-15 22:05:33 +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.