Skip to content

tool1621: drop unused internal libcurl headers #17811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Jul 3, 2025


Fixing this error with PR 16973 applied:
```
[4/4] Processing file /Users/runner/work/curl/curl/tests/tunit/tool1621.c.
1 error generated.
Error while processing /Users/runner/work/curl/curl/tests/tunit/tool1621.c.
/Users/runner/work/curl/curl/lib/psl.h:28:10: error: 'libpsl.h' file not found [clang-diagnostic-error]
   28 | #include <libpsl.h>
      |          ^~~~~~~~~~
FAILED: [code=1] tests/tunit/CMakeFiles/tunits-clang-tidy /Users/runner/work/curl/curl/bld/tests/tunit/CMakeFiles/tunits-clang-tidy
```
https://github.com/curl/curl/actions/runs/16055441393/job/45308545907?pr=16973#step:14:539

The applied PR remove dependency header directories from the global
scope, which means they are no longer passed to the tunits build.
Correctly so, but this also revealed that tool1621 was in fact depending
on dependency headers via internal libcurl header that were included.
These headers weren't used, so just drop them as a fix.
@vszakats vszakats added the tests label Jul 3, 2025
@vszakats vszakats marked this pull request as draft July 3, 2025 23:04
@vszakats vszakats marked this pull request as ready for review July 3, 2025 23:12
@vszakats vszakats closed this in 5fb10b5 Jul 4, 2025
@vszakats vszakats deleted the tool1621-hdrs branch July 4, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant