diff options
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index b9a3dc2..bd6661b 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -255,7 +255,7 @@ class Build: self.test_setups: T.Dict[str, TestSetup] = {} self.test_setup_default_name = None self.find_overrides: T.Dict[str, T.Union['Executable', programs.ExternalProgram, programs.OverrideProgram]] = {} - self.searched_programs = set() # The list of all programs that have been searched for. + self.searched_programs: T.Set[str] = set() # The list of all programs that have been searched for. # If we are doing a cross build we need two caches, if we're doing a # build == host compilation the both caches should point to the same place. @@ -292,7 +292,7 @@ class Build: for k, v in other.__dict__.items(): self.__dict__[k] = v - def ensure_static_linker(self, compiler): + def ensure_static_linker(self, compiler: Compiler) -> None: if self.static_linker[compiler.for_machine] is None and compiler.needs_static_linker(): self.static_linker[compiler.for_machine] = detect_static_linker(self.environment, compiler) |