Revert f9146ccbe940d8b8eb15e7686a511a28eb0abc6b (#131656)

This reverts commit f9146ccbe940d8b8eb15e7686a511a28eb0abc6b
([libc][bazel] explicitly use system-provided errno in Bazel builds.
(#130663))

This change causes problems in Bazel builds where system errno is set to
non-zero before the tests even begin to run - see PR #131650 for the
disucssion on how to address this.
This commit is contained in:
Alexey Samsonov 2025-03-17 11:35:42 -07:00 committed by GitHub
parent f6a7306bea
commit 279e82fca7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,11 +44,6 @@ LIBC_CONFIGURE_OPTIONS = [
# "LIBC_COPT_STRTOFLOAT_DISABLE_EISEL_LEMIRE",
# "LIBC_COPT_STRTOFLOAT_DISABLE_SIMPLE_DECIMAL_CONVERSION",
# Documentation in libc/src/errno/...
# Since we're only using Bazel for overlay build for now, explicitly
# enforce using the system-provided errno in both tests and release build.
"LIBC_ERRNO_MODE=LIBC_ERRNO_MODE_SYSTEM",
# Documentation in libc/src/__support/libc_assert.h
# "LIBC_COPT_USE_C_ASSERT",
]