From 9e1baebb2363556b8d2779f13e7bb4b15141253d Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 19 Dec 2022 13:00:36 +0100 Subject: fix build_target(objects: ...) documentation The documentation for build_target(...) does not list file or str as the possible types for the "objects" keyword argument, even though in theory the argument is meant for prebuild object files that are part of the sources. Of course that is only the theory, because an ExtractedObjects object is probably used a lot more than a file in the source tree. But at least make the reference manual's typing information accurate. --- docs/yaml/functions/_build_target_base.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml index 589e0d2..46eedc1 100644 --- a/docs/yaml/functions/_build_target_base.yaml +++ b/docs/yaml/functions/_build_target_base.yaml @@ -191,11 +191,11 @@ kwargs: (but *not* before that). On Windows, this argument has no effect. objects: - type: list[extracted_obj] + type: list[extracted_obj | file | str] description: | - List of prebuilt object files (usually for third party - products you don't have source to) that should be linked in this - target, **never** use this for object files that you build yourself. + List of object files that should be linked in this target. + These can include third party products you don't have source to, + or object files produced by other build targets. name_prefix: type: str | list[void] -- cgit v1.1