Clarify some wording for compiler.first_supported_argument

After a discussion implementing this for muon [1] and clarification on
IRC on Meson's behaviour.

[1] https://lists.sr.ht/~lattis/muon/patches/26722
pull/9607/head
Luke Drummond 3 years ago committed by Eli Schwartz
parent 958b1a7fb4
commit 150b110e7a
  1. 5
      docs/yaml/objects/compiler.yaml

@ -486,8 +486,9 @@ methods:
since: 0.43.0
varargs_inherit: compiler.has_multi_arguments
description: |
Given a list of strings, returns the first argument that passes the
[[compiler.has_argument]] test or an empty array if none pass.
Given a list of strings, returns a single-element list containing the first
argument that passes the [[compiler.has_argument]] test or an empty array if
none pass.
# Linker arguments

Loading…
Cancel
Save