# AGENTS.md

Empowering everyone to build reliable and efficient software.

## Setup

```
cargo build
```

## Commands

```
cargo test   # run the test suite
```

## Layout

- `tests/`    25315 source files
- `src/`      7995 source files
- `compiler/` 2246 source files
- `library/`  2059 source files

## Conventions

- Tests live alongside the code they cover, following `compiler/rustc_codegen_gcc/build_system/src/abi_test.rs`.
- CI defines what passing means. See `.github/workflows/ci.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `tests/ui/parser/survive-peano-lesson-queue.rs` is 7932KB. It will not fit comfortably in context, so read it in parts.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
