Skip to content

Commit

Permalink
Exclude .tmp_git_root from globs
Browse files Browse the repository at this point in the history
This directory contains the original git repo when the crate is from git. Including this directory currently makes these rules re-run whenever the repository rule re-runs, although this is fixed by bazelbuild/bazel#18271. Even after this fix, excluding this directory avoids depending on unnecessary files.

Fixes bazelbuild#1927.
  • Loading branch information
cameron-martin committed Jun 22, 2023
1 parent ca750fa commit 6d0c004
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crate_universe/src/rendering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ fn make_data(platforms: &Platforms, glob: &BTreeSet<String>, select: &SelectList
"BUILD",
"WORKSPACE.bazel",
"WORKSPACE",
".tmp_git_root/**/*",
];

Data {
Expand Down

0 comments on commit 6d0c004

Please sign in to comment.