Skip to content

Commit 87bf232

Browse files
authored
[libc] Add missing dependencies on getc and ungetc for GPU (#128069)
Summary: These are required because we don't use the `file` interface.
1 parent cc45365 commit 87bf232

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc/src/stdio/scanf_core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ add_header_library(
6161
reader.h
6262
DEPENDS
6363
libc.src.__support.macros.attributes
64+
libc.src.stdio.getc
65+
libc.src.stdio.ungetc
6466
)
6567
elseif((TARGET libc.src.__support.File.file) OR (NOT LLVM_LIBC_FULL_BUILD))
6668
add_header_library(

0 commit comments

Comments
 (0)