@FeatureNew('compiler.first_supported_link_argument_method', '0.46.0')
@permittedKwargs({})
def first_supported_link_argument_method(self, args, kwargs):
    for i in mesonlib.stringlistify(args):
        if self.has_link_argument_method(i, kwargs):
            mlog.log('First supported link argument:', mlog.bold(i))
            return [i]
    mlog.log('First supported link argument:', mlog.red('None'))
    return []
@FeatureNew('compiler.first_supported_link_argument_method', '0.46.0')
@permittedKwargs({})
def first_supported_link_argument_method(self, args, kwargs):
    for i in mesonlib.stringlistify(args):
        if self.has_link_argument_method(i, kwargs):
            mlog.log('First supported link argument:', mlog.bold(i))
            return [i]
    mlog.log('First supported link argument:', mlog.red('None'))
    return []