interpreter: use typed_kwargs for build_target.d_debug

pull/12383/head
Dylan Baker 1 year ago
parent 4ebe03713d
commit 19beb070e8
  1. 1
      mesonbuild/interpreter/kwargs.py
  2. 1
      mesonbuild/interpreter/type_checking.py

@ -333,6 +333,7 @@ class _BuildTarget(_BaseBuildTarget):
"""Arguments shared by non-JAR functions"""
d_debug: T.List[T.Union[str, int]]
rust_dependency_map: T.Dict[str, str]
sources: SourcesVarargsType
c_args: T.List[str]

@ -560,6 +560,7 @@ _BUILD_TARGET_KWS: T.List[KwargInfo] = [
*_LANGUAGE_KWS,
BT_SOURCES_KW,
RUST_CRATE_TYPE_KW,
KwargInfo('d_debug', ContainerTypeInfo(list, (str, int)), default=[], listify=True),
KwargInfo(
'rust_dependency_map',
ContainerTypeInfo(dict, str),

Loading…
Cancel
Save