diff options
| author | Mads Andreasen <github@andreasen.cc> | 2024-07-21 15:28:33 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-07-21 21:45:21 +0300 |
| commit | d587fb587d2d32963a7b5f6dfe45895a5e1e6076 (patch) | |
| tree | 53a430bff9497b5543017b8079d41131891e4cdc /mesonbuild | |
| parent | 96f20d5b372b9982c153b114eb3726fbbecb7542 (diff) | |
| download | meson-d587fb587d2d32963a7b5f6dfe45895a5e1e6076.tar.gz | |
Remove the exe_exists function
This function is no longer used since shutil.which() is used instead.
Diffstat (limited to 'mesonbuild')
| -rw-r--r-- | mesonbuild/utils/universal.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/utils/universal.py b/mesonbuild/utils/universal.py index b5310b8c3..574bcb51f 100644 --- a/mesonbuild/utils/universal.py +++ b/mesonbuild/utils/universal.py @@ -680,9 +680,6 @@ def is_qnx() -> bool: def is_aix() -> bool: return platform.system().lower() == 'aix' -def exe_exists(exe: str) -> bool: - return shutil.which(exe) is not None - @lru_cache(maxsize=None) def darwin_get_object_archs(objpath: str) -> 'ImmutableListProtocol[str]': ''' |
