1
0
mirror of https://github.com/github/gitignore synced 2024-11-22 19:54:22 +01:00
gitignore/Rust.gitignore
Ryan Scott d15076ed4a 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
2021-04-27 09:54:38 -04:00

15 lines
414 B
Plaintext

# Generated by Cargo
# will have compiled files and executables
debug/
target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb