[llvm] [libc][bazel] Add bazel targets for libc/include/... tests. (PR #141150)
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Wed May 28 10:40:35 PDT 2025
================
@@ -71,6 +71,7 @@ libc_test_library(
"//libc:llvm_libc_macros_stdfix_macros",
"//llvm:Support",
],
+ alwayslink = True,
----------------
vonosmas wrote:
Thanks for the detailed explanation, I agree that this change is reasonable. Would you mind adding a comment above `alwayslink = True` to specify that we deliberately force linking in library to ensure the test case doesn't provide their own `main()`?
https://github.com/llvm/llvm-project/pull/141150
More information about the llvm-commits
mailing list