X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitignore;h=0cd6b9f648d0fb4bfd0189a66969c39c58e55a40;hb=515c5afe2ca26ff73710251eadc503b29f291b07;hp=565327a7f839cc2cebfbf81b6ed2b02ef30d445f;hpb=2ce5e368d84887a5a2cee669b467160d4ad7b933;p=rust.git diff --git a/.gitignore b/.gitignore index 565327a7f83..0cd6b9f648d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,40 +1,75 @@ -# 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 +!/src/test/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/ +/dist/ +/unicode-downloads /target -/clippy_lints/target -/clippy_utils/target -/clippy_workspace_tests/target -/clippy_dev/target -/lintcheck/target -/rustc_tools_util/target +/src/tools/x/target +# Generated by compiletest for incremental +/tmp/ +# Created by default with `src/ci/docker/run.sh` +/obj/ -# Generated by dogfood -/target_recur/ +## Temporary files +*~ +\#* +\#*\# +.#* -# gh pages docs -util/gh-pages/lints.json -# **/metadata_collection.json +## Tags +tags +tags.* +TAGS +TAGS.* -# rustfmt backups -*.rs.bk +## Python +__pycache__/ +*.py[cod] +*$py.class -helper.txt -*.iml -.vscode -.idea +## Node +**node_modules +**package-lock.json + +# Before adding new lines, see the comment at the top.