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

Roland McGrath via libc-commits libc-commits at lists.llvm.org
Wed Jul 10 16:34:01 PDT 2024


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

Ideally IMHO this default would depend on OVERLAY vs FULLBUILD mode. I don't know if that's possible here. It's probably fine if `LIBC_CONF_ERRNO_MODE` is just ignored/overridden in overlay mode, but IMHO it would be best if the overlay mode bit just changes the default mode.

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


More information about the libc-commits mailing list