[llvm] [libc][bazel] Add bazel targets for libc/include/... tests. (PR #141150)

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 15:45:24 PDT 2025


================
@@ -71,6 +71,7 @@ libc_test_library(
         "//libc:llvm_libc_macros_stdfix_macros",
         "//llvm:Support",
     ],
+    alwayslink = True,
----------------
vonosmas wrote:

What would happen if you try to link in this library to a test which already has `main()` before this change?

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


More information about the llvm-commits mailing list