[bazel][libc] Re-add dependency on errno to strtol_test_helper.
authorJorge Gorbe Moya <jgorbe@google.com>
Tue, 14 Mar 2023 22:49:25 +0000 (15:49 -0700)
committerJorge Gorbe Moya <jgorbe@google.com>
Tue, 14 Mar 2023 22:52:22 +0000 (15:52 -0700)
https://reviews.llvm.org/D146014 removed the dependency on errno from
several targets and added it to the `libc_test` macro. However,
strtol_test_helper is not a `libc_test` but a `cc_library` so it's
missing a dependency.

utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel

index a671ca0..ca9887b 100644 (file)
@@ -79,6 +79,7 @@ cc_library(
     deps = [
         "//libc:__support_cpp_limits",
         "//libc:__support_cpp_type_traits",
+        "//libc:errno.__internal__",
         "//libc/test/UnitTest:LibcUnitTest",
     ],
 )