Skip to content

Conversation

@saturn691
Copy link
Contributor

string_utils.h uses uintptr_t, and there seems to be no tracking of this dependency. It seems upstream builds are unaffected but downstream this is causing a lot of flaky builds.

string_utils.h uses uintptr_t, and there seems to be no tracking
of this dependency. It seems upstream builds are unaffected but
downstream this is causing a lot of flaky builds.
@llvmbot llvmbot added the libc label Jul 21, 2025
@llvmbot
Copy link
Member

llvmbot commented Jul 21, 2025

@llvm/pr-subscribers-libc

Author: William Huynh (saturn691)

Changes

string_utils.h uses uintptr_t, and there seems to be no tracking of this dependency. It seems upstream builds are unaffected but downstream this is causing a lot of flaky builds.


Full diff: https://github.com/llvm/llvm-project/pull/149849.diff

1 Files Affected:

  • (modified) libc/src/string/string_utils.h (+2)
diff --git a/libc/src/string/string_utils.h b/libc/src/string/string_utils.h
index 4f56263fce8ec..1231117586a7c 100644
--- a/libc/src/string/string_utils.h
+++ b/libc/src/string/string_utils.h
@@ -21,6 +21,8 @@
 #include "src/__support/macros/config.h"
 #include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
 
+#include <stdint.h> // uintptr_t
+
 namespace LIBC_NAMESPACE_DECL {
 namespace internal {
 

@saturn691 saturn691 merged commit 6932080 into llvm:main Jul 21, 2025
15 of 21 checks passed
@saturn691 saturn691 deleted the libc-stdint branch July 21, 2025 16:56
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jul 28, 2025
…49849)

string_utils.h uses uintptr_t, and there seems to be no tracking of this
dependency. It seems upstream builds are unaffected but downstream this
is causing a lot of flaky builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants