diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2021-04-27 09:54:36 -0400 |
---|---|---|
committer | Ryan Scott <ryan.gl.scott@gmail.com> | 2021-04-27 09:54:38 -0400 |
commit | d15076ed4a80c445b2a87d13464281d1ba5cb385 (patch) | |
tree | 73a7982af787c9c00331f8e0c0b3d8a9c5ca67bf | |
parent | 218a941be92679ce67d0484547e3e142b2f5f6f0 (diff) | |
download | gitignore-d15076ed4a80c445b2a87d13464281d1ba5cb385.tar.gz gitignore-d15076ed4a80c445b2a87d13464281d1ba5cb385.zip |
Rust: ignore .pdb files
MSVC builds of Rust on Windows automatically generate `*.pdb` files, which
store debugging information. For more information, see:
* https://github.com/rust-lang/rustlings/issues/275
* https://locka99.gitbooks.io/a-guide-to-porting-c-to-rust/content/debugging_rust/#microsoft-visual-studio
-rw-r--r-- | Rust.gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Rust.gitignore b/Rust.gitignore index ff47c2d7..6985cf1b 100644 --- a/Rust.gitignore +++ b/Rust.gitignore @@ -9,3 +9,6 @@ Cargo.lock # These are backup files generated by rustfmt **/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb |