Skip to content

Commit d50bae4

Browse files
authored
fix: default crates_universe name collision in Bazel module (#241)
1 parent 0db5367 commit d50bae4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

MODULE.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ crate.annotation(
5252
gen_binaries = ["jrsonnet"],
5353
)
5454
crate.from_specs(
55+
name = "crates_jsonnet",
5556
host_tools = "@rust_host_tools_jsonnet",
5657
)
57-
use_repo(crate, "crates")
58+
use_repo(crate, "crates_jsonnet")

jsonnet/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ toolchain_type(name = "toolchain_type")
3535

3636
jsonnet_toolchain(
3737
name = "rust_jsonnet",
38-
compiler = "@crates//:jrsonnet__jrsonnet",
38+
compiler = "@crates_jsonnet//:jrsonnet__jrsonnet",
3939
create_directory_flags = ["-c"],
4040
manifest_file_support = False,
4141
)

0 commit comments

Comments
 (0)