[libc-commits] [libc] [libc] Support configurable errno modes (PR #98287)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Thu Jul 11 21:13:42 PDT 2024


================
@@ -1,4 +1,10 @@
 {
+  "errno": {
+    "LIBC_CONF_ERRNO_MODE": {
+      "value": "",
----------------
petrhosek wrote:

I agree but the problem is that we currently don't have any mechanism to distinguish the overlay from the full build mode, and in the overlay mode we want to default to `LIBC_ERRNO_MODE_SYSTEM`.

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


More information about the libc-commits mailing list