aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-08-05 10:20:21 -0700
committerEli Schwartz <eschwartz93@gmail.com>2022-08-18 21:57:36 -0400
commit394f734b1d21aff8a7f4f38ec3b46357e54273a5 (patch)
tree2ab05a0497d6bb66ad9b96dfb5cc556719a07afd /mesonbuild/backend/backends.py
parentf10967e3f40e1caaddab599c5f76923acf39a2f5 (diff)
downloadmeson-394f734b1d21aff8a7f4f38ec3b46357e54273a5.zip
meson-394f734b1d21aff8a7f4f38ec3b46357e54273a5.tar.gz
meson-394f734b1d21aff8a7f4f38ec3b46357e54273a5.tar.bz2
build: Add a Union alias for all build targets
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 1505206..67bc8bf 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -1044,7 +1044,7 @@ class Backend:
tests.
"""
result: T.Set[str] = set()
- prospectives: T.Set[T.Union[build.BuildTarget, build.CustomTarget, build.CustomTargetIndex]] = set()
+ prospectives: T.Set[build.BuildTargetTypes] = set()
if isinstance(target, build.BuildTarget):
prospectives.update(target.get_transitive_link_deps())
# External deps