You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be missing something, but following the documentation for using a custom location for the deps for these rules leads to the following failure at compile time.
greg@gregslaptop ~/work/core-ticketing-host $ bazel build --config x64 --config debug //third_party/bazel:extra_actions_proto_rust_stubs
ERROR: /home/greg/.cache/bazel/_bazel_greg/c75e2059c1e63a4c3c0afb06f978fe5a/external/io_bazel_rules_rust/proto/raze/BUILD:25:1: no such package '@raze__protobuf__1_6_0//': The repository could not be resolved and referenced by '@io_bazel_rules_rust//proto/raze:protobuf'
ERROR: Analysis of target '//third_party/bazel:extra_actions_proto_rust_stubs' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.311s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
If I hack the file rust_rules/proto/toolchain.bzl to have the following
I might be missing something, but following the documentation for using a custom location for the deps for these rules leads to the following failure at compile time.
If I hack the file
rust_rules/proto/toolchain.bzl
to have the followingI then get a clean compile. I am not referencing this anywhere in my actual
BUILD
files (I am calling out the deps directly).I think bazel is trying to resolve the labels in the line
default = [Label(l) for l in PROTO_COMPILE_DEPS],
to rules, and coming up short.I cannot think about how to get around this without using
bind
in the WORKSPACEany thoughts?
The text was updated successfully, but these errors were encountered: