[libc-commits] [libc] [bazel] add missing header to alloc-checker for bazel clib build (PR #173400)

Jordan Rupprecht via libc-commits libc-commits at lists.llvm.org
Tue Dec 23 10:14:58 PST 2025


================
@@ -15,6 +15,8 @@
 #include "src/__support/macros/config.h"
 #include "src/__support/macros/properties/os.h"
 
+#include <new>
----------------
rupprecht wrote:

This is _normally_ where users get std::align_val_t, but libc can't use that, so use `#include "src/__support/CPP/new.h"` instead.

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


More information about the libc-commits mailing list