1# This file should only ignore things that are generated during a `x.py` build,
2# generated by common IDEs, and optional files controlled by the user that
3# affect the build (such as bootstrap.toml).
4# In particular, things like `mir_dump` should not be listed here; they are only
5# created during manual debugging and many people like to clean up instead of
6# having git ignore such leftovers. You can use `.git/info/exclude` to
7# configure your local ignore list.
8
9## File system
10.DS_Store
11desktop.ini
12
13## Editor
14*.swp
15*.swo
16Session.vim
17.cproject
18.idea
19*.iml
20.vscode
21.project
22.vim/
23.helix/
24.zed/
25.favorites.json
26.settings/
27.vs/
28.dir-locals.el
29
30## Tool
31.valgrindrc
32.cargo
33# Included because it is part of the test case
34!/tests/run-make/thumb-none-qemu/example/.cargo
35
36## Configuration
37/bootstrap.toml
38/config.toml
39/Makefile
40config.mk
41config.stamp
42no_llvm_build
43
44## Build
45/dl/
46/doc/
47/inst/
48/llvm/
49/mingw-build/
50/build
51/build-rust-analyzer
52/dist/
53/unicode-downloads
54/target
55/library/target
56/src/bootstrap/target
57/src/ci/citool/target
58/src/tools/x/target
59# Created by `x vendor`
60/vendor
61# Created by default with `src/ci/docker/run.sh`
62/obj/
63# Created by nix dev shell / .envrc
64src/tools/nix-dev-shell/flake.lock
65
66## ICE reports
67rustc-ice-*.txt
68
69## Temporary files
70*~
71\#*
72\#*\#
73.#*
74
75## Tags
76tags
77tags.*
78TAGS
79TAGS.*
80
81## Python
82__pycache__/
83*.py[cod]
84*$py.class
85
86## Node
87node_modules
88/src/doc/rustc-dev-guide/mermaid.min.js
89
90## Rustdoc GUI tests
91tests/rustdoc-gui/src/**.lock
92
93## Test dashboard
94.citool-cache/
95test-dashboard/
96
97## direnv
98/.envrc
99/.direnv/
100
101## nix
102/flake.nix
103flake.lock
104/default.nix
105
106# Before adding new lines, see the comment at the top.