.gitignore: add Rust related ignores

Cargo.lock: file that contains all (including transitive) the
dependencies. We only want to include one of it and it's yet available.

target*/: Cargo builds by default into the target/ dir, so avoid having
it in the git diff

!build.rs: Cargo has build scripts, that by default are named build.rs
This commit is contained in:
Loïc Branstett 2023-07-07 15:34:59 +02:00 committed by Steve Lhomme
parent 67481c9cee
commit 5c644791f2
1 changed files with 3 additions and 0 deletions

3
.gitignore vendored
View File

@ -20,6 +20,7 @@
.dirstamp
ABOUT-NLS
aclocal.m4
Cargo.lock
ChangeLog
compile
config.status
@ -50,6 +51,8 @@ patches/*
# Ignore build dirs
build*/
target*/
contrib-*
install-*
!build.rs
!extras/package/apple/build.sh