Skip to content

Conversation

@dcbaker
Copy link
Member

@dcbaker dcbaker commented Dec 19, 2025

This is #15406, but without the cleanups for python which trigger bugs in mypy 1.8. As such, we can't merge that PR until mypy is unpinned.

…targets

include_directories, dependencies, and link_with are all valid for jar
targets as well as compiled targets.
This fixes the SharedLibrary preventing the SharedModule from being
used.
We know all of the keyword arguments now! This also allows them to be
removed from wrappers
These were hidden by the `if 'sources' in kwargs` check, which mypy
thought would always be true, and thus it just ignored everything else.
Of course, these issues are just the static type checking not
understanding...
@dcbaker dcbaker force-pushed the submit/remove-build-target-allow-unknown branch from 88fb158 to e516e1e Compare January 6, 2026 19:42
@dcbaker dcbaker merged commit 2800f26 into mesonbuild:master Jan 9, 2026
33 of 34 checks passed
@dcbaker dcbaker deleted the submit/remove-build-target-allow-unknown branch January 9, 2026 17:39
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