[all-commits] [llvm/llvm-project] 8f878c: [libc] Include time.h in baremetal targets (#85026)

Petr Hosek via All-commits all-commits at lists.llvm.org
Sat Mar 16 16:11:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f878c501886e6dc8b0cf062320a803593972bed
      https://github.com/llvm/llvm-project/commit/8f878c501886e6dc8b0cf062320a803593972bed
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-03-16 (Sat, 16 Mar 2024)

  Changed paths:
    M libc/config/baremetal/api.td
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/arm/headers.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/baremetal/riscv/headers.txt

  Log Message:
  -----------
  [libc] Include time.h in baremetal targets (#85026)

These types and conversion functions are used in embedded development.

Note that we cannot yet include other entrypoints such as asctime
because `src/time/time_utils.h` unconditionally uses `EOVERFLOW`, which
is only defined in POSIX and not in C standard. This issue is tracked by
#85556.



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