Skip to content

Commit 74bf391

Browse files
hlopkocopybara-github
authored andcommitted
Move rust/aspects.bzl under bazel subdirectory
PiperOrigin-RevId: 731355034
1 parent 0d7ebb7 commit 74bf391

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

rust/bazel/BUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
2+
3+
licenses(["notice"])
File renamed without changes.

rust/defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ load("@rules_rust//rust:defs.bzl", "rust_common")
44
load("//bazel/common:proto_common.bzl", "proto_common")
55
load("//bazel/common:proto_info.bzl", "ProtoInfo")
66
load(
7-
"//rust:aspects.bzl",
7+
"//rust/bazel:aspects.bzl",
88
"RustProtoInfo",
99
"label_to_crate_name",
1010
"proto_rust_toolchain_label",

rust/test/rust_proto_library_unit_test/defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Support for rust_proto_library_aspect unit-tests."""
22

33
load(
4-
"//rust:aspects.bzl",
4+
"//rust/bazel:aspects.bzl",
55
"RustProtoInfo",
66
"rust_cc_proto_library_aspect",
77
"rust_upb_proto_library_aspect",

rust/test/rust_proto_library_unit_test/rust_proto_library_unit_test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
load("@bazel_skylib//lib:unittest.bzl", "analysistest", "asserts")
44
load("//bazel:proto_library.bzl", "proto_library")
5-
load("//rust:aspects.bzl", "RustProtoInfo")
65
load("//rust:defs.bzl", "rust_cc_proto_library", "rust_upb_proto_library")
6+
load("//rust/bazel:aspects.bzl", "RustProtoInfo")
77
load(":defs.bzl", "ActionsInfo", "attach_cc_aspect", "attach_upb_aspect")
88

99
def _find_actions_with_mnemonic(actions, mnemonic):

0 commit comments

Comments
 (0)