diff options
| author | Tristan Partin <tristan@partin.io> | 2023-07-12 17:58:35 -0500 |
|---|---|---|
| committer | Tristan Partin <tristan@partin.io> | 2023-07-12 18:56:06 -0500 |
| commit | c1863f781bf56190ff00f081733c2cb1f2f73884 (patch) | |
| tree | a325534a0de9636b1d8395293b62b6d1bcab7bcb /mesonbuild/compilers/compilers.py | |
| parent | 33c8362a1cdd57dd60c7be8fdf3b0566ccdeb3bf (diff) | |
| download | meson-c1863f781bf56190ff00f081733c2cb1f2f73884.tar.gz | |
Remove Compiler._build_wrapper(temp_dir:)
The function wasn't using the keyword argument and all the callers were
using env.scratch_dir anyway.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
| -rw-r--r-- | mesonbuild/compilers/compilers.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 7873ea8a9..4cbdb1fc9 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1299,8 +1299,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta): extra_args: T.Union[None, CompilerArgs, T.List[str], T.Callable[[CompileCheckMode], T.List[str]]] = None, dependencies: T.Optional[T.List['Dependency']] = None, mode: CompileCheckMode = CompileCheckMode.COMPILE, want_output: bool = False, - disable_cache: bool = False, - temp_dir: str = None) -> T.Iterator[T.Optional[CompileResult]]: + disable_cache: bool = False) -> T.Iterator[T.Optional[CompileResult]]: """Helper for getting a cached value when possible. This method isn't meant to be called externally, it's mean to be |
