Skip to content

Commit

Permalink
.gitignore: Ignore Rust 'target' directories
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
d3zd3z authored and nashif committed Sep 26, 2024
1 parent f1ec7be commit 8aaad1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8aaad1e

Please sign in to comment.