[libc-commits] [libc] [libc]: Clean up unnecessary function pointers in scanf (PR #121215)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Jan 8 10:02:30 PST 2025


================
@@ -62,6 +62,7 @@ add_object_library(
     reader.h
   DEPENDS
     libc.src.__support.macros.attributes
+    libc.hdr.types.FILE
----------------
michaelrj-google wrote:

ah, that's because we only support overlay mode on mac, and overlay mode doesn't have `FILE`. You'll need to add logic to only add `libc.src.__support.File.file` to the list of `DEPENDS` if `LLVM_LIBC_FULL_BUILD` is true.

https://github.com/llvm/llvm-project/pull/121215


More information about the libc-commits mailing list