Skip to content

Commit d90423e

Browse files
authored
[libc][bazel] Minor cleanup to remove unused dependencies. (#130348)
* strcpy doesn't need to depend on memcpy * qsort_test_helper has been generalized and doesn't need to depend on qsort. This is a small cleanup to unblock the work outlined in #130327.
1 parent f117881 commit d90423e

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

libc/test/src/stdlib/SortingTest.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "src/__support/macros/config.h"
10-
#include "src/stdlib/qsort.h"
1110
#include "test/UnitTest/Test.h"
1211

1312
class SortingTest : public LIBC_NAMESPACE::testing::Test {

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4270,7 +4270,6 @@ libc_function(
42704270
hdrs = ["src/string/strcpy.h"],
42714271
deps = [
42724272
":__support_common",
4273-
":memcpy",
42744273
":string_memory_utils",
42754274
":string_utils",
42764275
],

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ libc_support_library(
115115
hdrs = ["SortingTest.h"],
116116
deps = [
117117
"//libc:__support_macros_config",
118-
"//libc:qsort",
119118
"//libc/test/UnitTest:LibcUnitTest",
120119
],
121120
)

0 commit comments

Comments
 (0)