]> git.lizzy.rs Git - rust.git/blobdiff - .gitignore
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / .gitignore
index 503ae3c50903921c42c63f628073c5d51ae7a949..e5ca3e503130f63c8fb35475b0658dd4316a31b5 100644 (file)
@@ -1,44 +1,79 @@
-# Used by CI to be able to push:
-/.github/deploy_key
-out
-
-# Compiled files
-*.o
-*.d
-*.so
-*.rlib
-*.dll
-*.pyc
-*.rmeta
-
-# Executables
-*.exe
-
-# Generated by Cargo
-*Cargo.lock
+# 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.
+
+## File system
+.DS_Store
+desktop.ini
+
+## Editor
+*.swp
+*.swo
+Session.vim
+.cproject
+.idea
+*.iml
+.vscode
+.project
+.favorites.json
+.settings/
+
+## Tool
+.valgrindrc
+.cargo
+# Included because it is part of the test case
+!/tests/run-make/thumb-none-qemu/example/.cargo
+
+## Configuration
+/config.toml
+/Makefile
+config.mk
+config.stamp
+no_llvm_build
+
+## Build
+/dl/
+/doc/
+/inst/
+/llvm/
+/mingw-build/
+/build/
+/build-rust-analyzer/
+/dist/
+/unicode-downloads
 /target
-/clippy_lints/target
-/clippy_utils/target
-/clippy_dev/target
-/lintcheck/target
-/rustc_tools_util/target
+/src/bootstrap/target
+/src/tools/x/target
+# Created by default with `src/ci/docker/run.sh`
+/obj/
 
-# Generated by dogfood
-/target_recur/
+## Temporary files
+*~
+\#*
+\#*\#
+.#*
 
-# Generated by lintcheck
-/lintcheck-logs
+## Tags
+tags
+tags.*
+TAGS
+TAGS.*
 
-# gh pages docs
-util/gh-pages/lints.json
+## Python
+__pycache__/
+*.py[cod]
+*$py.class
 
-# rustfmt backups
-*.rs.bk
+## Node
+node_modules
+package-lock.json
+package.json
 
-helper.txt
-*.iml
-.vscode
-.idea
+## Rustdoc GUI tests
+tests/rustdoc-gui/src/**.lock
 
-# mdbook generated output
-/book/book
+# Before adding new lines, see the comment at the top.