()
| 48 | } |
| 49 | |
| 50 | function detectMusl() { |
| 51 | const muslArch = process.arch === 'x64' ? 'x86_64' : 'aarch64' |
| 52 | try { statSync(`/lib/libc.musl-${muslArch}.so.1`); return true } catch { return false } |
| 53 | } |
| 54 | |
| 55 | function getBinaryPath() { |
| 56 | const subdir = `${process.arch}-${process.platform}` |
no test coverage detected