Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ _is_musl
Function
_is_musl
tests/env.py:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
if
LINUX:
19
20
def
_is_musl() -> bool:
21
libc, _ = platform.libc_ver()
22
return
libc ==
"musl"
or (libc !=
"glibc"
and libc !=
""
)
23
24
MUSLLINUX = _is_musl()
25
MANYLINUX = not MUSLLINUX
Callers
1
env.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected