.gitignore: Ignore Rust 'target' directories

Although the Cmake rules to build Rust applications keeps the target
directory inside of the build directory, some IDE tools may generate a
target directory while editing the code.  Ignore these so they never get
checked in.

Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
David Brown 2024-08-28 15:04:30 -06:00 committed by Anas Nashif
commit 8aaad1e960

4
.gitignore vendored
View file

@ -66,6 +66,10 @@ Cargo.lock
# Cargo encourages a .cargo/config.toml file to symlink to a generated file. Don't save these.
.cargo/
# Normal west builds will place the Rust target directory under the build directory. However,
# sometimes IDEs and such will litter these target directories as well.
target/
# CI output
compliance.xml
_error.types