Add 0.43.0 features

pull/3486/head
Salamandar 7 years ago
parent 4741f1e243
commit 2056172595
  1. 1
      mesonbuild/build.py
  2. 1
      mesonbuild/interpreter.py

@ -1086,6 +1086,7 @@ recommended as it can lead to undefined behaviour on some platforms''')
return
class Generator:
@FeatureNewKwargs('generator', '0.43.0', 'capture')
def __init__(self, args, kwargs):
if len(args) != 1:
raise InvalidArguments('Generator requires exactly one positional argument: the executable')

@ -1356,6 +1356,7 @@ class CompilerHolder(InterpreterObject):
h)
return result
@FeatureNew('compiler.get_supported_arguments', '0.43.0')
@permittedKwargs({})
def get_supported_arguments_method(self, args, kwargs):
args = mesonlib.stringlistify(args)

Loading…
Cancel
Save