()
| 82 | } |
| 83 | |
| 84 | function detectMusl() { |
| 85 | const muslArch = process.arch === 'x64' ? 'x86_64' : 'aarch64' |
| 86 | try { |
| 87 | statSync(`/lib/libc.musl-${muslArch}.so.1`) |
| 88 | return true |
| 89 | } catch { |
| 90 | return false |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | // --- Paths --- |
| 95 |
no test coverage detected