rust/src
bors 8e7795415a Auto merge of #144793 - petrochenkov:extprel3, r=davidtwco
resolve: Split extern prelude into two scopes

One scope for `extern crate` items and another for `--extern` options, with the former shadowing the latter.

If in a single scope some things can overwrite other things, especially with ad hoc restrictions like `MacroExpandedExternCrateCannotShadowExternArguments`, then it's not really a single scope.
So this PR splits `Scope::ExternPrelude` into two cleaner scopes.

This is similar to how https://github.com/rust-lang/rust/pull/144131 splits module scope into two scopes for globs and non-globs, but simpler.
2025-08-13 22:52:17 +00:00
..
bootstrap Rollup merge of #145341 - Kobzol:codegen-backend-gcc, r=jieyouxu 2025-08-13 18:43:02 +02:00
build_helper integrate build_helper::npm into js checks and package.json usage 2025-07-19 14:56:42 -05:00
ci Auto merge of #145298 - nikic:llvm21-rc3, r=cuviper 2025-08-13 15:56:00 +00:00
doc Rollup merge of #145356 - GuillaumeGomez:doctest-escaped, r=fmease 2025-08-13 18:43:04 +02:00
etc update completions 2025-07-19 14:52:31 -05:00
gcc@04ce66d8c9 Update src/gcc submodule to 04ce66d8c918de9273bd7101638ad8724edf5e21 2025-05-14 18:02:02 +02:00
librustdoc Rollup merge of #145349 - GuillaumeGomez:unstable-items-search, r=lolbinarycat,fmease 2025-08-13 18:43:03 +02: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 Auto merge of #144793 - petrochenkov:extprel3, r=davidtwco 2025-08-13 22:52:17 +00: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.