From 620d4878a014cefdd1919c39527290c852539712 Mon Sep 17 00:00:00 2001 From: John Stilley <1831479+theJollySin@users.noreply.github.com> Date: Fri, 3 Jul 2020 14:07:44 -0400 Subject: [PATCH] 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 --- Rust.gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rust.gitignore b/Rust.gitignore index 088ba6ba..ff47c2d7 100644 --- a/Rust.gitignore +++ b/Rust.gitignore @@ -1,6 +1,7 @@ # Generated by Cargo # will have compiled files and executables -/target/ +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 -- GitLab