rust/src
bors 1d8f9c548d Auto merge of #150110 - Urgau:remap-relative-library, r=jieyouxu
Prefer remapping the relative `library/` and `compiler/` directories

This is done to avoid leaking the relative paths to the standard library after the overall of filenames in rust-lang/rust#149709.

Noted that the paths were already leaking before, but to a lesser extent since most (but not all) the paths embedded in the distributed `rlib` were absolute.

In general Cargo compiles workspace members with relative paths, so it's better anyway to remap the relative path.

In addition to our tests I have manually confirmed that it also works as expected for the printed diagnostics paths.

cf. https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/remapping.20of.20the.20standard.20library/near/564093571
2025-12-19 11:45:11 +00:00
..
bootstrap Auto merge of #150110 - Urgau:remap-relative-library, r=jieyouxu 2025-12-19 11:45:11 +00:00
build_helper Use yarn instead of npm in tidy 2025-11-17 10:58:13 +02:00
ci Rollup merge of #149734 - Kobzol:gcc-9.2.0, r=marcoieni 2025-12-16 20:21:06 +01:00
doc Rollup merge of #150042 - tshepang:rdg-sync, r=tshepang 2025-12-16 20:21:11 +01:00
etc add a missing comma to default r-a settings file 2025-11-29 21:31:43 +00:00
gcc@0081ca6631 Update GCC submodule 2025-11-26 20:11:43 +01:00
librustdoc Rollup merge of #150099 - GuillaumeGomez:field-handling, r=yotamofek 2025-12-17 23:31:22 +01:00
llvm-project@85a90d119d Update to LLVM 21.1.8 2025-12-16 12:32:00 +01:00
rustc-std-workspace Generalize branch references to HEAD 2025-11-02 11:15:55 +01:00
rustdoc-json-types rustdoc-json: add rlib path to ExternalCrate to enable robust crate resolution 2025-11-21 09:22:59 +00:00
tools Auto merge of #138961 - meithecatte:expr-use-visitor, r=Nadrieril,traviscross,ChayimFriedman2 2025-12-18 03:54:48 +00:00
README.md
stage0 Change default branch to main 2025-11-10 10:21:34 +01:00
version bump version number 2025-12-05 19:33:24 +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.