style(bazel): use template suffix for Rust BUILD template

This commit is contained in:
2026-08-31 15:05:12 -04:00
parent 85b49c5378
commit ca8cd11cf8
4 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
exports_files([
"rust.BUILD.tpl",
"rust.BUILD.template",
"rust.bzl",
"utils.bzl",
])

View File

@@ -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,