Skip to content

Commit ec06471

Browse files
authored
Stop disabling link_llvmlibc feature in libc_test Bazel rule
This detail is not relevant for the upstream Bazel version. llvm-libc unit tests today directly invoke the function under test using the namespace, which reduces the potential problems of linking with some other (system-provided) version of llvm-libc further.
1 parent 1e5e153 commit ec06471

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def libc_test(name, srcs, libc_function_deps = [], copts = [], deps = [], local_
3636
"//libc/test/UnitTest:LibcUnitTest",
3737
"//libc:__support_macros_config",
3838
] + deps,
39-
features = ["-link_llvmlibc"], # Do not link libllvmlibc.a
4039
copts = copts + libc_common_copts(),
4140
linkstatic = 1,
4241
**kwargs

0 commit comments

Comments
 (0)