[libc-commits] [libc] [libc] Enable floating point support for baremetal printf (PR #101912)
via libc-commits
libc-commits at lists.llvm.org
Sun Aug 4 16:44:55 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Petr Hosek (petrhosek)
<details>
<summary>Changes</summary>
It's somewhat common for baremetal projects to use floating point so printf support is actually desirable.
---
Full diff: https://github.com/llvm/llvm-project/pull/101912.diff
1 Files Affected:
- (modified) libc/config/baremetal/config.json (-3)
``````````diff
diff --git a/libc/config/baremetal/config.json b/libc/config/baremetal/config.json
index f0ff268b56275..f5b260d805c93 100644
--- a/libc/config/baremetal/config.json
+++ b/libc/config/baremetal/config.json
@@ -5,9 +5,6 @@
}
},
"printf": {
- "LIBC_CONF_PRINTF_DISABLE_FLOAT": {
- "value": true
- },
"LIBC_CONF_PRINTF_DISABLE_INDEX_MODE": {
"value": true
},
``````````
</details>
https://github.com/llvm/llvm-project/pull/101912
More information about the libc-commits
mailing list