[libc-commits] [libc] [libc] Change default behaviour of baremetal/printf to use stdout (PR #143703)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Wed Jun 11 11:57:04 PDT 2025
================
@@ -21,8 +21,8 @@ namespace LIBC_NAMESPACE_DECL {
namespace {
-LIBC_INLINE int raw_write_hook(cpp::string_view new_str, void *) {
- write_to_stderr(new_str);
+LIBC_INLINE int raw_write_stdout_hook(cpp::string_view new_str, void *) {
----------------
petrhosek wrote:
The same here, I'd just call this `stdout_write_hook`.
https://github.com/llvm/llvm-project/pull/143703
More information about the libc-commits
mailing list