X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.gitignore;h=ec6cb6ed2e4d3fdeb3ca5ff9d1274076f208ff1a;hb=18ed1fa12933ff895980b55cf8b858aec8171b85;hp=ffd36ddb7db0e80baba481a90435cc24868d13ce;hpb=852735da05d741317014bc54cb5933820e19cc72;p=rust.git diff --git a/.gitignore b/.gitignore index ffd36ddb7db..ec6cb6ed2e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,24 +1,79 @@ -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 +# 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 +# Generated by compiletest for incremental +/tmp/ +# 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.