summaryrefslogtreecommitdiff
path: root/rust/hello-world/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'rust/hello-world/.gitignore')
-rw-r--r--rust/hello-world/.gitignore8
1 files changed, 8 insertions, 0 deletions
diff --git a/rust/hello-world/.gitignore b/rust/hello-world/.gitignore
new file mode 100644
index 0000000..db7f315
--- /dev/null
+++ b/rust/hello-world/.gitignore
@@ -0,0 +1,8 @@
+# Generated by Cargo
+# will have compiled files and executables
+/target/
+**/*.rs.bk
+
+# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
+# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock
+Cargo.lock