diff options
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | # Created by https://www.toptal.com/developers/gitignore/api/c | 1 | # Created by https://www.toptal.com/developers/gitignore/api/c,rust |
2 | # Edit at https://www.toptal.com/developers/gitignore?templates=c | 2 | # Edit at https://www.toptal.com/developers/gitignore?templates=c,rust |
3 | 3 | ||
4 | ### C ### | 4 | ### C ### |
5 | # Prerequisites | 5 | # Prerequisites |
@@ -55,4 +55,19 @@ Module.symvers | |||
55 | Mkfile.old | 55 | Mkfile.old |
56 | dkms.conf | 56 | dkms.conf |
57 | 57 | ||
58 | # End of https://www.toptal.com/developers/gitignore/api/c | 58 | ### Rust ### |
59 | # Generated by Cargo | ||
60 | # will have compiled files and executables | ||
61 | debug/ | ||
62 | target/ | ||
63 | |||
64 | # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries | ||
65 | # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html | ||
66 | Cargo.lock | ||
67 | |||
68 | # These are backup files generated by rustfmt | ||
69 | **/*.rs.bk | ||
70 | |||
71 | # MSVC Windows builds of rustc generate these, which store debugging information | ||
72 | |||
73 | # End of https://www.toptal.com/developers/gitignore/api/c,rust | ||