Skip to content

Commit

Permalink
Fix up fake resolve roots for proc macros (#2784)
Browse files Browse the repository at this point in the history
1. Skip in-workspace proc-macros - they shouldn't be resolved, and are
already resolve roots
2. Properly parse out git deps, rather than assuming everything is a
registry dep

Fixes #2777
Fixes #2783
  • Loading branch information
illicitonion authored Aug 8, 2024
1 parent 0e1297d commit 1625cd1
Show file tree
Hide file tree
Showing 90 changed files with 1,140 additions and 473 deletions.
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ use_repo(
"cui__toml-0.8.10",
"cui__tracing-0.1.40",
"cui__tracing-subscriber-0.3.17",
"cui__url-2.5.2",
"generated_inputs_in_external_repo",
"libc",
"llvm-raw",
Expand Down
6 changes: 6 additions & 0 deletions crate_universe/3rdparty/crates/BUILD.bazel

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions crate_universe/3rdparty/crates/BUILD.bumpalo-3.13.0.bazel

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crate_universe/3rdparty/crates/BUILD.gix-url-0.24.0.bazel

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crate_universe/3rdparty/crates/BUILD.syn-2.0.32.bazel

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crate_universe/3rdparty/crates/BUILD.tera-1.19.1.bazel

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 22 additions & 20 deletions crate_universe/3rdparty/crates/defs.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions crate_universe/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crate_universe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ textwrap = "0.16.0"
toml = "0.8.10"
tracing = "0.1.40"
tracing-subscriber = "0.3.17"
url = "2.5.2"

[dev-dependencies]
maplit = "1.0.2"
Expand Down
Loading

0 comments on commit 1625cd1

Please sign in to comment.