Skip to content

Commit 19e77fa

Browse files
krasimirggcopybara-github
authored andcommitted
Adapt for bazelbuild/rules_rust#3634, which updates the deps and proc_macro_deps of rustc_compile_action and collect_deps to list.
PiperOrigin-RevId: 815679316
1 parent f7f84dd commit 19e77fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/bazel/aspects.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ def _compile_rust(ctx, attr, src, extra_srcs, deps, runtime):
253253
type = "rlib",
254254
root = src,
255255
srcs = depset([src] + extra_srcs),
256-
deps = depset(deps),
257-
proc_macro_deps = depset([]),
256+
deps = deps,
257+
proc_macro_deps = [],
258258
# Make "protobuf" into an alias for the runtime. This allows the
259259
# generated code to use a consistent name, even though the actual
260260
# name of the runtime crate varies depending on the protobuf kernel

0 commit comments

Comments
 (0)