[libcxx-commits] [libcxx] [libc++] Check zdump availability through executor (PR #216476)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 27 07:46:55 PDT 2026
zhangweize9-cyber wrote:
If you're simply checking if `zdump` executes correctly in the terminal, writing `exec` directly will result in an error. You need to write it like this:
```python
import shutil
when = lambda cfg: shutil.which("zdump") is None
```
https://github.com/llvm/llvm-project/pull/216476
More information about the libcxx-commits
mailing list