Skip to content

Commit

Permalink
Move rust/aspects.bzl under bazel subdirectory
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 731355034
  • Loading branch information
hlopko authored and copybara-github committed Feb 26, 2025
1 parent 0d7ebb7 commit 74bf391
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions rust/bazel/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

licenses(["notice"])
File renamed without changes.
2 changes: 1 addition & 1 deletion rust/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("@rules_rust//rust:defs.bzl", "rust_common")
load("//bazel/common:proto_common.bzl", "proto_common")
load("//bazel/common:proto_info.bzl", "ProtoInfo")
load(
"//rust:aspects.bzl",
"//rust/bazel:aspects.bzl",
"RustProtoInfo",
"label_to_crate_name",
"proto_rust_toolchain_label",
Expand Down
2 changes: 1 addition & 1 deletion rust/test/rust_proto_library_unit_test/defs.bzl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Support for rust_proto_library_aspect unit-tests."""

load(
"//rust:aspects.bzl",
"//rust/bazel:aspects.bzl",
"RustProtoInfo",
"rust_cc_proto_library_aspect",
"rust_upb_proto_library_aspect",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

load("@bazel_skylib//lib:unittest.bzl", "analysistest", "asserts")
load("//bazel:proto_library.bzl", "proto_library")
load("//rust:aspects.bzl", "RustProtoInfo")
load("//rust:defs.bzl", "rust_cc_proto_library", "rust_upb_proto_library")
load("//rust/bazel:aspects.bzl", "RustProtoInfo")
load(":defs.bzl", "ActionsInfo", "attach_cc_aspect", "attach_upb_aspect")

def _find_actions_with_mnemonic(actions, mnemonic):
Expand Down

0 comments on commit 74bf391

Please sign in to comment.