diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-13 09:26:44 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | 15e054e9c3eb685e250f3a472644454375f6d5c0 (patch) | |
| tree | 0eae9f19d0cc2bb5daf3f1aa6ac00ef942fe92e3 /mesonbuild/compilers/d.py | |
| parent | 40b4151f33ea05f1f305f09831c24caa8a920a19 (diff) | |
| download | meson-15e054e9c3eb685e250f3a472644454375f6d5c0.tar.gz | |
compilers: Remove Environment parameter from Compiler.has_header
Diffstat (limited to 'mesonbuild/compilers/d.py')
| -rw-r--r-- | mesonbuild/compilers/d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index b32b43355..dd120947d 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -617,7 +617,7 @@ class DCompiler(Compiler): raise mesonlib.EnvironmentException(f'Could not determine alignment of {typename}. Sorry. You might want to file a bug.') return align, res.cached - def has_header(self, hname: str, prefix: str, env: 'Environment', *, + def has_header(self, hname: str, prefix: str, *, extra_args: T.Union[None, T.List[str], T.Callable[['CompileCheckMode'], T.List[str]]] = None, dependencies: T.Optional[T.List['Dependency']] = None, disable_cache: bool = False) -> T.Tuple[bool, bool]: |
