From 701d2a8b821226679ec7ed96426f5c1380dd7aa6 Mon Sep 17 00:00:00 2001 From: Chen Kai <281165273grape@gmail.com> Date: Mon, 27 Jul 2026 13:04:35 +0800 Subject: [PATCH] fix: remove redundant platform check from musl detection --- ts/lib.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ts/lib.ts b/ts/lib.ts index cc72bfa..fb3e74e 100644 --- a/ts/lib.ts +++ b/ts/lib.ts @@ -137,10 +137,6 @@ export function getZigTriple(target: Target): string { let isMuslCache: boolean | null = null; const isMusl = () => { - if (process.platform !== "linux") { - return false; - } - if (isMuslCache !== null) { return isMuslCache; }