Skip to content

Conversation

@dcbaker
Copy link
Member

@dcbaker dcbaker commented Dec 10, 2025

This also does a bit of cleanup in the build layer that these changes allow

@dcbaker dcbaker added the typing label Dec 10, 2025
@dcbaker dcbaker changed the title Use typed_kwsargs for build_target(install_dir:) Use typed_kwargs for build_target(install_dir:) Dec 10, 2025
This just puts the type checking in the frontend, there's still some
serious cleanup in the build and backend that need to happen.
Among other things it will say "expects X but only has Y", even if Y >
X.
This `install_dir` is slightly different than the one in `BuildTarget`
(though I'd like to make them the same in the future). It is only
allowed to be `str | bool | None`, and the implementation has always
assumed this, it would have broken with an array value.
@dcbaker dcbaker force-pushed the submit/typed-kwargs-for-build-target branch from 5a9bf0e to f723338 Compare December 15, 2025 19:18
@dcbaker dcbaker merged commit f3d9a71 into mesonbuild:master Dec 17, 2025
34 of 35 checks passed
@dcbaker dcbaker deleted the submit/typed-kwargs-for-build-target branch December 17, 2025 18:27
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.

2 participants