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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: forking-google-bazel-bot[bot]

<details>
<summary>Changes</summary>

This fixes c74c4a8bf6f7663e1fc645e3bd43935791f33123.



---
Full diff: https://github.com/llvm/llvm-project/pull/192646.diff


1 Files Affected:

- (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+4-1) 


``````````diff
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"),

``````````

</details>


https://github.com/llvm/llvm-project/pull/192646


More information about the llvm-commits mailing list