You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: disable CGO for all npm builds and improve test coverage
- Set CGO_ENABLED=0 for all platform builds (Darwin, Linux, Windows)
since the codebase is pure Go with no C dependencies
- Remove unnecessary mingw cross-compiler dependencies from CI
- Fix wrapper script error handling: use ?? instead of || for
proper null status handling
- Enhance test-npm-build.sh with:
- Verification of all 6 platform binaries (was only checking 2)
- Binary architecture validation using 'file' command
- Exit code propagation test for wrapper script
The codebase has no CGO imports, so CGO_ENABLED=0 is the accurate
setting for cross-compilation. This simplifies the build process
and removes the need for platform-specific cross-compilers.
See #202 for discussion on Windows 32-bit support.
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments