Bug report
ctypes.util.find_library doesn't work on WASM platforms like emscripten, wasi.
There is no condition that handles sys.platform in ('emscripten', 'wasi'), and it always returns None since the subprocess module is not available in WASM platforms.
Your environment
- CPython versions tested on: 3.11.0 Emscripten build from: https://github.com/tiran/cpython-wasm-test
- Operating system and architecture: Chrome 108.0.5359.71