[libc-commits] [libc] [libc] Additional check for File support in scanf_core (PR #128079)
Petr Hosek via libc-commits
libc-commits at lists.llvm.org
Thu Feb 20 14:35:15 PST 2025
petrhosek wrote:
> > > I'm not sure if this will work for baremetal, since right now the fscanf scanner requires either the system's FILE or our own FILE. We might need to add a hook similar to what's in https://github.com/llvm/llvm-project/blob/main/libc/src/stdio/baremetal/printf.cpp, or alternately just add baremetal versions of `getc` and `ungetc`
> >
> >
> > I have a WIP implementation of that locally, I'll clean it up and send it for review.
>
> Would it make sense to turn off `scanf` on baremetal temporarily to unbreak the bots then?
It's not included in any of the baremetal `entrypoints.txt` files so I'm not sure why it's being pulled in.
https://github.com/llvm/llvm-project/pull/128079
More information about the libc-commits
mailing list