]> git.lizzy.rs Git - rust.git/blobdiff - .gitignore
with_desugared_doc: correctly refer to `attr` instead of `self`
[rust.git] / .gitignore
index b53b06b03cac6c6721dc305d82bea2755537d824..487867c375d4529a0a7f0e36c6b2207665e174c6 100644 (file)
@@ -1,3 +1,11 @@
+# This file should only ignore things that are generated during a `x.py` build,
+# generated by common IDEs, and optional files controlled by the user that
+# affect the build (such as config.toml).
+# In particular, things like `mir_dump` should not be listed here; they are only
+# created during manual debugging and many people like to clean up instead of
+# having git ignore such leftovers. You can use `.git/info/exclude` to
+# configure your local ignore list.
+# FIXME: This needs cleanup.
 *~
 .#*
 .DS_Store
@@ -14,20 +22,17 @@ __pycache__/
 .valgrindrc
 .vscode
 .favorites.json
-/*-*-*-*/
-/*-*-*/
 /Makefile
-/build
+/build/
 /config.toml
 /dist/
 /dl/
-/doc
+/doc/
 /inst/
 /llvm/
 /mingw-build/
-/nd/
+# Created by default with `src/ci/docker/run.sh`:
 /obj/
-/rt/
 /rustllvm/
 /src/libcore/unicode/DerivedCoreProperties.txt
 /src/libcore/unicode/DerivedNormalizationProps.txt
@@ -37,10 +42,8 @@ __pycache__/
 /src/libcore/unicode/SpecialCasing.txt
 /src/libcore/unicode/UnicodeData.txt
 /src/libcore/unicode/downloaded
-/stage[0-9]+/
-/target
-target/
-/test/
+/target/
+# Generated by compiletest for incremental:
 /tmp/
 tags
 tags.*
@@ -50,17 +53,7 @@ TAGS.*
 \#*\#
 config.mk
 config.stamp
-keywords.md
-lexer.ml
 Session.vim
-src/etc/dl
-tmp.*.rs
-version.md
-version.ml
-version.texi
 .cargo
-!src/vendor/**
-/src/target/
-
 no_llvm_build
-
+# Before adding new lines, see the comment at the top.