[libc-commits] [libc] [libc] Disable LlvmLibcTimespecGet.Monotonic for baremetal targets (PR #152290)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Aug 6 08:43:00 PDT 2025


================
@@ -202,6 +202,10 @@ add_libc_unittest(
     libc.src.errno.errno
 )
 
+if(LIBC_TARGET_OS_IS_BAREMETAL)
+  list(APPEND options "-DLIBC_TARGET_OS_IS_BAREMETAL")
----------------
jhuber6 wrote:

What distinguishes baremetal from a normal target? Guessing there's no existing macros we can check.

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


More information about the libc-commits mailing list