From d15076ed4a80c445b2a87d13464281d1ba5cb385 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Tue, 27 Apr 2021 09:54:36 -0400 Subject: [PATCH] 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 --- Rust.gitignore | 3 +++ 1 file changed, 3 insertions(+) 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