style(bazel): use template suffix for Rust BUILD template
This commit is contained in:
2
MODULE.bazel.lock
generated
2
MODULE.bazel.lock
generated
@@ -93,7 +93,7 @@
|
||||
"moduleExtensions": {
|
||||
"//bazel:rust.bzl%rust": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "4aaA6vAtrGES73j6RWZFmf/31/0PAazCSNi2ccK0w0E=",
|
||||
"bzlTransitiveDigest": "4kUzQyjRjzchWIBZJKkNs8LuO4F+g/DwuwtTa0RTPcU=",
|
||||
"usagesDigest": "jJoM2Hp1NbshT//puE4xIUfXdA0K6BRx1WTlsZIKFm4=",
|
||||
"recordedFileInputs": {},
|
||||
"recordedDirentsInputs": {},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
exports_files([
|
||||
"rust.BUILD.tpl",
|
||||
"rust.BUILD.template",
|
||||
"rust.bzl",
|
||||
"utils.bzl",
|
||||
])
|
||||
|
||||
@@ -27,7 +27,7 @@ def _rust_repository_impl(repository_ctx):
|
||||
repository_ctx.file("WORKSPACE.bazel", "")
|
||||
repository_ctx.template(
|
||||
"BUILD.bazel",
|
||||
Label("//bazel:rust.BUILD.tpl"),
|
||||
Label("//bazel:rust.BUILD.template"),
|
||||
{
|
||||
"{host_triple}": host_triple,
|
||||
"{release}": release,
|
||||
|
||||
Reference in New Issue
Block a user