[llvm] [libc][bazel] Fix linter warning - remove unused load. (PR #114493)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 17:34:05 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Alexey Samsonov (vonosmas)

<details>
<summary>Changes</summary>

This load is no longer necessary since PLATFORM_CPU_ARM64 was removed in fa17977c315062646d4d1e01262d68dd69313e61

---
Full diff: https://github.com/llvm/llvm-project/pull/114493.diff


1 Files Affected:

- (modified) utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl (+1-1) 


``````````diff
diff --git a/utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl b/utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
index f298f817af83d7..9dc25f95b8e3f1 100644
--- a/utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+++ b/utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
@@ -8,7 +8,7 @@ load("@bazel_skylib//lib:paths.bzl", "paths")
 load("@bazel_skylib//lib:selects.bzl", "selects")
 load(":libc_configure_options.bzl", "LIBC_CONFIGURE_OPTIONS")
 load(":libc_namespace.bzl", "LIBC_NAMESPACE")
-load(":platforms.bzl", "PLATFORM_CPU_ARM64", "PLATFORM_CPU_X86_64")
+load(":platforms.bzl", "PLATFORM_CPU_X86_64")
 
 def libc_internal_target(name):
     return name + ".__internal__"

``````````

</details>


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


More information about the llvm-commits mailing list