X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitignore;h=a6625ac2ac4a172d08c081090e5cfba5597cea00;hb=43783b80ee5997dd64f0f5bceea32d519f2f0e07;hp=12ed56675639c8525feef60ef9bec1d04ef5b824;hpb=e6dbecdff382691b9f072fedc7cf70cd8ab5a6a4;p=rust.git diff --git a/.gitignore b/.gitignore index 12ed5667563..a6625ac2ac4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,25 +1,77 @@ -target -**/*.rs.bk -*.rlib -*.o -perf.data -perf.data.old -*.events -*.string* -/build_sysroot/sysroot -/build_sysroot/sysroot_src -/build_sysroot/Cargo.lock -/build_sysroot/test_target/Cargo.lock -/rust -/simple-raytracer -/regex -/rand -gimple* -*asm -res -test-backend -gcc_path -benchmarks -tools/llvm-project -tools/llvmint -tools/llvmint-2 +# 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 +/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 +src/test/rustdoc-gui/src/**.lock + +# Before adding new lines, see the comment at the top.