Skip to content

Conversation

tristan-google
Copy link
Contributor

PR #94029 introduced a feature to filter out certain file paths from coverage dumps using the fnmatch function. Unfortauntely, this function is not universally implemented among all of Zephyr's libc options, particularly minimal libc. This causes build failures when libc support for fnmatch() is absent.

Update Kconfig with a depends on clause and a helper symbol that guards the fnmatch header and function call when not enabled.

PR zephyrproject-rtos#94029 introduced a feature to filter out certain file paths from
coverage dumps using the `fnmatch` function. Unfortauntely, this
function is not universally implemented among all of Zephyr's libc
options, particularly minimal libc. This causes build failures when libc
support for `fnmatch()` is absent.

Update Kconfig with a `depends on` clause and a helper symbol that
guards the fnmatch header and function call when not enabled.

Signed-off-by: Tristan Honscheid <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2025

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