]> source.dussan.org Git - gitignore.git/commitdiff
Rust: ignore .pdb files 3712/head
authorRyan Scott <ryan.gl.scott@gmail.com>
Tue, 27 Apr 2021 13:54:36 +0000 (09:54 -0400)
committerRyan Scott <ryan.gl.scott@gmail.com>
Tue, 27 Apr 2021 13:54:38 +0000 (09:54 -0400)
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

index ff47c2d77d9194f7856b1f8244ed91e6814964a5..6985cf1bd09ddd9ef8516d37668d37e78dddf38c 100644 (file)
@@ -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