[libc-commits] [libc] [libc] Disable fixed point printing for baremetal (PR #126115)

via libc-commits libc-commits at lists.llvm.org
Thu Feb 6 11:23:54 PST 2025


https://github.com/PiJoules created https://github.com/llvm/llvm-project/pull/126115

This follows suite with disabling float printing.

>From eb9195314723e30eabd71d7c09e03435d98d61e2 Mon Sep 17 00:00:00 2001
From: Leonard Chan <leonardchan at google.com>
Date: Thu, 6 Feb 2025 11:23:00 -0800
Subject: [PATCH] [libc] Disable fixed point printing for baremetal

This follows suite with disabling float printing.
---
 libc/config/baremetal/config.json | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libc/config/baremetal/config.json b/libc/config/baremetal/config.json
index 08c581d1c682268..105e417d165f063 100644
--- a/libc/config/baremetal/config.json
+++ b/libc/config/baremetal/config.json
@@ -5,6 +5,9 @@
     }
   },
   "printf": {
+    "LIBC_CONF_PRINTF_DISABLE_FIXED_POINT": {
+      "value": true
+    },
     "LIBC_CONF_PRINTF_DISABLE_FLOAT": {
       "value": true
     },



More information about the libc-commits mailing list