]> git.lizzy.rs Git - rust.git/blobdiff - .gitignore
Rename `libsyntax_ext` and `libsyntax_expand` in code
[rust.git] / .gitignore
index 5e536ccf615a1cf28d14a36128b809826de5afdc..1428ee6c9bc234acc1cb52d25f54afdcdd5f145c 100644 (file)
@@ -1,6 +1,10 @@
-# This file should only ignore things that are generatd during a build,
-# generated by common IDEs, and optional files controlled by the user
-# that affect the build (such as config.toml).
+# 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.
 *~
 .#*
@@ -19,14 +23,16 @@ __pycache__/
 .vscode
 .favorites.json
 /Makefile
-/build
+/build/
 /config.toml
 /dist/
 /dl/
-/doc
+/doc/
 /inst/
 /llvm/
 /mingw-build/
+# Created by default with `src/ci/docker/run.sh`:
+/obj/
 /rustllvm/
 /src/libcore/unicode/DerivedCoreProperties.txt
 /src/libcore/unicode/DerivedNormalizationProps.txt
@@ -36,6 +42,9 @@ __pycache__/
 /src/libcore/unicode/SpecialCasing.txt
 /src/libcore/unicode/UnicodeData.txt
 /src/libcore/unicode/downloaded
+/target/
+# Generated by compiletest for incremental:
+/tmp/
 tags
 tags.*
 TAGS
@@ -45,6 +54,7 @@ TAGS.*
 config.mk
 config.stamp
 Session.vim
-src/etc/dl
 .cargo
+!/src/test/run-make/thumb-none-qemu/example/.cargo
 no_llvm_build
+# Before adding new lines, see the comment at the top.