[all-commits] [llvm/llvm-project] 9f170e: [libc][bazel] Convert "errno" to libc_support_libr...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Mon Mar 10 12:59:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f170e6abed4a7b393bb8abbf07ac8d6930aa3b0
      https://github.com/llvm/llvm-project/commit/9f170e6abed4a7b393bb8abbf07ac8d6930aa3b0
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/libc_test_rules.bzl
    M utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel

  Log Message:
  -----------
  [libc][bazel] Convert "errno" to libc_support_library. (#130368)

This shouldn't really be a "libc_function" since it can be used as a
dependency of various other support libraries and functions, and doesn't
correspond to a well-defined endpoint that the users may want to
explicitly depend on (if they depend on it implicitly through a
libc_function whose implementation relies on errno, the dependency will
be pulled in normally). Remove special handling for "errno" in the Bazel
test rules.

This is one more cleanup step unlocking the plan outlined in #130327



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list