Skip to content

dynamic_modules/bindgen: Stage clang's builtin headers for the bindin… - #49155

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:fix-bindgen-builtin-headers
Nov 10, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:fix-bindgen-builtin-headers

Conversation

@phlax

@phlax phlax commented Nov 10, 2026

Copy link
Copy Markdown
Member

…gs check

abi.h includes stdbool.h, stddef.h and stdint.h from clang's resource directory, but the test only declared libclang and the compiler-rt libraries (lib_legacy) as inputs, and pointed -isystem at a path that does not exist. Whether the headers were present then depended on what else the worker had staged; on main's postsubmit format check they were not ("'stdbool.h' file not found"). Depend on cxx_builtin_include, the same resource-directory headers the cc toolchain uses, and let -resource-dir find them.

…gs check

abi.h includes stdbool.h, stddef.h and stdint.h from clang's resource
directory, but the test only declared libclang and the compiler-rt
libraries (`lib_legacy`) as inputs, and pointed -isystem at a path that
does not exist. Whether the headers were present then depended on what
else the worker had staged; on main's postsubmit format check they were
not ("'stdbool.h' file not found"). Depend on `cxx_builtin_include`, the
same resource-directory headers the cc toolchain uses, and let
-resource-dir find them.

and format fix

Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax force-pushed the fix-bindgen-builtin-headers branch from 647f8de to 19e4d6c Compare November 10, 2026 18:49
@phlax
phlax merged commit 2810a22 into envoyproxy:main Nov 10, 2026
25 checks passed
paul-r-gall added a commit to paul-r-gall/envoy that referenced this pull request Nov 10, 2026
Picks up envoyproxy#49155 (bindgen builtin headers) which fixes the format precheck.

Signed-off-by: Paul Ogilby <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants