Add bazel-* directories in cargo_manifest_dir/external_crate to gitignore (#1279)

Previously running `bazel build ...` in examples/cargo_manfest_dir/external_crate
would leave the following untracked files:

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
            examples/cargo_manifest_dir/external_crate/bazel-bin
            examples/cargo_manifest_dir/external_crate/bazel-external_crate
            examples/cargo_manifest_dir/external_crate/bazel-out
            examples/cargo_manifest_dir/external_crate/bazel-testlogs

I noticed that of the 5 workspaces found by `find . -name WORKSPACE.bazel`
three of them were ignoring "bazel-*" via the top-level .gitignore while
one had its own .gitignore containing only "bazel-*". I consolidated
that one into the top-level .gitignore and added the 5th.
2 files changed
tree: c7b73768617424e70897606a6d99753556896af3
  1. .bazelci/
  2. .github/
  3. bindgen/
  4. cargo/
  5. crate_universe/
  6. distro/
  7. docs/
  8. examples/
  9. proto/
  10. rust/
  11. test/
  12. tools/
  13. util/
  14. wasm_bindgen/
  15. .bazelignore
  16. .bazelrc
  17. .gitignore
  18. ARCHITECTURE.md
  19. AUTHORS
  20. BUILD.bazel
  21. CODEOWNERS
  22. COMPATIBILITY.md
  23. CONTRIBUTING.md
  24. CONTRIBUTORS
  25. LICENSE.txt
  26. README.md
  27. version.bzl
  28. WORKSPACE.bazel
  29. workspace.bzl
README.md

Rust Rules

  • Postsubmit Build status

Overview

This repository provides rules for building Rust projects with Bazel.

Community

General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.

Documentation

Please refer to the full documentation.