[llvm] [Bazel] Fixes c74c4a8 (PR #192646)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 05:52:12 PDT 2026


https://github.com/forking-google-bazel-bot[bot] created https://github.com/llvm/llvm-project/pull/192646

This fixes c74c4a8bf6f7663e1fc645e3bd43935791f33123.



>From e28db46965bf48a6faa54748c2f6a7c5c61b652d Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Fri, 17 Apr 2026 12:52:01 +0000
Subject: [PATCH] Fix Bazel build for c74c4a8

---
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 9617159a6b2d9..49a90e45bf415 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -170,7 +170,10 @@ LLVM_LIBC_HEADERS = [
     libc_header_info("stdckdint"),
     libc_header_info("stdint"),
     libc_header_info("stdio"),
-    libc_header_info("string"),
+    libc_header_info(
+        "string",
+        has_def_template = True,
+    ),
     libc_header_info("strings"),
     libc_header_info("sys/auxv"),
     libc_header_info("sys/epoll"),



More information about the llvm-commits mailing list