llvm-project
07504afc - [libc] Stop depending on .cpp files in libcxx_shared_headers library. (#133999)

Commit
220 days ago
[libc] Stop depending on .cpp files in libcxx_shared_headers library. (#133999) Fix two instances of libcxx_shared_headers depending on .cpp files (in Bazel build): * Don't depend on exit syscall in LIBC_ASSERT implementation. This dependency is not used, since LIBC_ASSERT always uses system <assert.h> in the overlay mode, which is the only mode supported by Bazel. * Don't depend on libc_errno in str-to-float and str-to-integer conversions. We only need the ERANGE value, which can be obtained from the proxy header instead.
Author
Parents
Loading