[all-commits] [llvm/llvm-project] 3fad64: [libc] Skip scanf internals when no file available...

Michael Jones via All-commits all-commits at lists.llvm.org
Fri Feb 21 12:26:46 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fad640f06989c1ed5fd5d97868ad9fd807c86dc
      https://github.com/llvm/llvm-project/commit/3fad640f06989c1ed5fd5d97868ad9fd807c86dc
  Author: Michael Jones <michaelrj at google.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M libc/src/stdio/scanf_core/CMakeLists.txt
    M libc/test/src/stdio/scanf_core/CMakeLists.txt

  Log Message:
  -----------
  [libc] Skip scanf internals when no file available (#128097)

A temporary fix based on discussions in #128079

Currently, baremetal targets are failing to build because the scanf
internals require FILE* (either from the system's libc or our libc).
Normally we'd just turn off the broken entrypoint, but since the scanf
internals are built separately that doesn't work. This patch adds extra
conditions to building those internals, which we can hopefully remove
once we have a proper way to build scanf for embedded.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list