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

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Wed Jul 10 23:54:35 PDT 2024


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

That's done in `libc_errno.cpp` since we don't have any mechanism to do this in `config.json`.

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


More information about the libc-commits mailing list