diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-08-10 11:33:49 -0700 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-20 18:57:19 +0200 |
commit | b7d5ecc2980912623c94719c64e0e79819499559 (patch) | |
tree | 931698cd4ff3ea2aa3e94b6cabf690b3dbab0421 /mesonbuild/build.py | |
parent | f21c50223bd8349b96830af8f872860d164463f3 (diff) | |
download | meson-b7d5ecc2980912623c94719c64e0e79819499559.zip meson-b7d5ecc2980912623c94719c64e0e79819499559.tar.gz meson-b7d5ecc2980912623c94719c64e0e79819499559.tar.bz2 |
build: type get_import_filenames
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 939c398..64e2ae3 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1731,7 +1731,7 @@ class Executable(BuildTarget): def type_suffix(self): return "@exe" - def get_import_filename(self): + def get_import_filename(self) -> T.Optional[str]: """ The name of the import library that will be outputted by the compiler @@ -2079,7 +2079,7 @@ class SharedLibrary(BuildTarget): else: raise InvalidArguments(f'Invalid rust_crate_type "{rust_crate_type}": must be a string.') - def get_import_filename(self): + def get_import_filename(self) -> T.Optional[str]: """ The name of the import library that will be outputted by the compiler |