X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitignore;h=e5ca3e503130f63c8fb35475b0658dd4316a31b5;hb=fabefe3f313f3aec7f2172ced923d1fa9708d0b2;hp=b443fd58a1b98344bec2720e26139b6467907d89;hpb=70ba23b109f84e2f88ac5057297c527146a4a303;p=rust.git diff --git a/.gitignore b/.gitignore index b443fd58a1b..e5ca3e50313 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,79 @@ -target -**/*.rs.bk -*.rlib -*.o -perf.data -perf.data.old -*.events -*.string* -/y.bin -/y.bin.dSYM -/y.exe -/y.pdb -/build -/build_sysroot/sysroot_src -/build_sysroot/compiler-builtins -/build_sysroot/rustc_version -/dist -/rust -/download +# 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 +/src/bootstrap/target +/src/tools/x/target +# Created by default with `src/ci/docker/run.sh` +/obj/ + +## Temporary files +*~ +\#* +\#*\# +.#* + +## Tags +tags +tags.* +TAGS +TAGS.* + +## Python +__pycache__/ +*.py[cod] +*$py.class + +## Node +node_modules +package-lock.json +package.json + +## Rustdoc GUI tests +tests/rustdoc-gui/src/**.lock + +# Before adding new lines, see the comment at the top.