summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJorge Gorbe Moya <jgorbe@google.com>2023-04-26 17:01:39 -0700
committerJorge Gorbe Moya <jgorbe@google.com>2023-04-26 17:02:05 -0700
commit15ca90070a46b11e71ceeb5e2cc233313ab40966 (patch)
tree8371e7be6685ddbe7f34ab4b3b0383f10a63b5bd /utils
parent149eb31083dff26b414cbc9c847f05e4c5633a8a (diff)
downloadllvm-15ca90070a46b11e71ceeb5e2cc233313ab40966.tar.gz
[bazel][NFC] Run buildifier on libc/libc_build_rules.bzl.
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl b/utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
index 83dff3fbd56a..2007d1219b7c 100644
--- a/utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+++ b/utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
@@ -65,6 +65,7 @@ def libc_function(
**kwargs: Other attributes relevant for a cc_library. For example, deps.
"""
deps = deps or []
+
# We use the explicit equals pattern here because append and += mutate the
# original list, where this creates a new list and stores it in deps.
deps = deps + [LIBC_ROOT_TARGET]