1
0
mirror of https://github.com/github/gitignore synced 2024-12-23 21:30:46 +01:00

9 Commits

Author SHA1 Message Date
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
John Stilley
620d4878a0
Fixing target and adding debug to Rust gitignore (#3436)
The problem here was two fold:
1. the folder "/target/" would be top-level of the repo only, it should be "target/" to properly exclude target folders anywhere in the repo
2. the default Rust/Cargo folder when compiling code is "debug/", which gets used perhaps more often that "target/", added that
2020-07-03 15:07:44 -03:00
Jan Hacker
962020b16c
Update documentation link cargo.toml vs cargo.lock 2018-03-13 13:34:43 +01:00
Wayne Nilsen
309aa7aba0 Add rustfmt gitignore (#2108) 2016-10-03 14:46:39 +11:00
Deepak Kannan
f7a1b522cb Update Rust.gitignore
no need to specifically ignore compiled files and executables
as it will be under the target directory
2016-04-15 07:44:14 +05:30
Wayne Nilsen
271aaab77e added comment 2015-11-13 11:17:04 -05:00
Wayne Nilsen
cd3de49669 add Cargo.lock to gitignore file by default
See the [official recommendation](http://doc.crates.io/guide.html#cargotoml-vs-cargolock) 

> * If you're building a library, put Cargo.lock in your .gitignore.
> * If you're building an executable, check Cargo.lock into git.
2015-11-13 06:05:10 -05:00
Heather
70dab67e35 add /target/ (generated by Cargo) to Rust gitignore 2014-07-08 21:41:13 +04:00
Heather
2973111490 gitignore for Rust 2014-05-29 22:51:56 -07:00