Skip to content

Commit dec2d50

Browse files
committed
fix on windows
1 parent 0c9337d commit dec2d50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

npm/gen.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ async function genPlatformPackage() {
4444
cpu: [cpu],
4545
}
4646

47-
if (libc) platformPackage.libc = [libc]
47+
// Only set libc for non-Windows platforms
48+
if (libc && os !== 'win32') platformPackage.libc = [libc]
4849

4950
const packagePath = `@tailcallhq/core-${build}`
5051
const binPath = `${packagePath}/bin`

0 commit comments

Comments
 (0)