aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/dlang.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-12-27 17:36:44 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2021-12-31 12:03:57 +0200
commit688b4bac767f0a02af125febd49a0e0c5a2fe01e (patch)
tree2157df2e666ed31065528640ca1d95febbef1744 /mesonbuild/modules/dlang.py
parent9f8df3529fa9026134d8fc01ab6daa21f36dcfbf (diff)
downloadmeson-688b4bac767f0a02af125febd49a0e0c5a2fe01e.zip
meson-688b4bac767f0a02af125febd49a0e0c5a2fe01e.tar.gz
meson-688b4bac767f0a02af125febd49a0e0c5a2fe01e.tar.bz2
add FeatureNew decorators for various modules that were lacking them
Going back to 0.38, though some of them are far older. The original implementation of FeatureNew only added backdated feature checks that far, anyway.
Diffstat (limited to 'mesonbuild/modules/dlang.py')
-rw-r--r--mesonbuild/modules/dlang.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/modules/dlang.py b/mesonbuild/modules/dlang.py
index ddb780b..558ca81 100644
--- a/mesonbuild/modules/dlang.py
+++ b/mesonbuild/modules/dlang.py
@@ -21,12 +21,14 @@ import os
from . import ExtensionModule
from .. import dependencies
from .. import mlog
+from ..interpreterbase import FeatureNew
from ..mesonlib import Popen_safe, MesonException
class DlangModule(ExtensionModule):
class_dubbin = None
init_dub = False
+ @FeatureNew('Dlang Module', '0.48.0')
def __init__(self, interpreter):
super().__init__(interpreter)
self.methods.update({