rust/src
Stuart Cook 0bded526e8
Rollup merge of #148451 - Enselic:tidy-fix, r=clubby789
tidy: Fix false positives with absolute repo paths in `pal.rs` `check()`

Fixes this bug:

#### Step-by-step
1. `git clone https://github.com/rust-lang/rust.git rust-improve-tests`
2. `cd rust-improve-tests`
3. `./x test tidy`

#### Expected
No tidy errors found

#### Actual
```
thread 'pal (library)' (837175) panicked at src/tools/tidy/src/pal.rs💯5:
assertion failed: saw_target_arch
```
#### Explanation

Since the git checkout dir contains the word ["tests"](bf0ce4bc68/src/tools/tidy/src/pal.rs (L96)), the `pal.rs` `check()` used to erroneously ignore all paths.
2025-11-04 13:44:51 +11:00
..
bootstrap Auto merge of #148446 - GuillaumeGomez:rollup-lxwlqol, r=GuillaumeGomez 2025-11-03 16:29:59 +00:00
build_helper Include additional hashes in src/stage0 2025-09-27 08:43:22 -04:00
ci CI: rfl: move to temporary commit to support -Cjump-tables=n 2025-11-03 14:20:04 -06:00
doc Rollup merge of #148448 - rustbot:docs-update, r=ehuss 2025-11-04 13:44:51 +11:00
etc Rollup merge of #148395 - Kobzol:generalize-branch-references, r=marcoieni 2025-11-02 20:21:03 +01:00
gcc@4e995bd73c Update GCC submodule 2025-08-26 18:09:42 +02:00
librustdoc Rollup merge of #145915 - coolreader18:stabilize-fmt_from_fn, r=dtolnay 2025-11-04 13:44:47 +11:00
llvm-project@4f74b76fb6 Update LLVM to 21.1.3 2025-10-09 18:23:56 +08:00
rustc-std-workspace Generalize branch references to HEAD 2025-11-02 11:15:55 +01:00
rustdoc-json-types Add new doc(attribute = "...") attribute 2025-08-28 15:56:29 +02:00
tools Rollup merge of #148451 - Enselic:tidy-fix, r=clubby789 2025-11-04 13:44:51 +11:00
README.md
stage0 Bump stage0 to 1.92.0-beta.1 2025-10-28 13:35:43 -07:00
version Bump the version number to 1.93.0 2025-10-24 11:12:06 -07: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.