Skip to content

Commit 279e82f

Browse files
authored
Revert f9146cc (#131656)
This reverts commit f9146cc ([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.
1 parent f6a7306 commit 279e82f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ LIBC_CONFIGURE_OPTIONS = [
4444
# "LIBC_COPT_STRTOFLOAT_DISABLE_EISEL_LEMIRE",
4545
# "LIBC_COPT_STRTOFLOAT_DISABLE_SIMPLE_DECIMAL_CONVERSION",
4646

47-
# Documentation in libc/src/errno/...
48-
# Since we're only using Bazel for overlay build for now, explicitly
49-
# enforce using the system-provided errno in both tests and release build.
50-
"LIBC_ERRNO_MODE=LIBC_ERRNO_MODE_SYSTEM",
51-
5247
# Documentation in libc/src/__support/libc_assert.h
5348
# "LIBC_COPT_USE_C_ASSERT",
5449
]

0 commit comments

Comments
 (0)