| 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 |
| 11 | desktop.ini |
| 12 | |
| 13 | ## Editor |
| 14 | *.swp |
| 15 | *.swo |
| 16 | Session.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 |
| 40 | config.mk |
| 41 | config.stamp |
| 42 | no_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 |
| 64 | src/tools/nix-dev-shell/flake.lock |
| 65 | |
| 66 | ## ICE reports |
| 67 | rustc-ice-*.txt |
| 68 | |
| 69 | ## Temporary files |
| 70 | *~ |
| 71 | \#* |
| 72 | \#*\# |
| 73 | .#* |
| 74 | |
| 75 | ## Tags |
| 76 | tags |
| 77 | tags.* |
| 78 | TAGS |
| 79 | TAGS.* |
| 80 | |
| 81 | ## Python |
| 82 | __pycache__/ |
| 83 | *.py[cod] |
| 84 | *$py.class |
| 85 | |
| 86 | ## Node |
| 87 | node_modules |
| 88 | /src/doc/rustc-dev-guide/mermaid.min.js |
| 89 | |
| 90 | ## Rustdoc GUI tests |
| 91 | tests/rustdoc-gui/src/**.lock |
| 92 | |
| 93 | ## Test dashboard |
| 94 | .citool-cache/ |
| 95 | test-dashboard/ |
| 96 | |
| 97 | ## direnv |
| 98 | /.envrc |
| 99 | /.direnv/ |
| 100 | |
| 101 | ## nix |
| 102 | /flake.nix |
| 103 | flake.lock |
| 104 | /default.nix |
| 105 | |
| 106 | # Before adding new lines, see the comment at the top. |