Updated code to support linux arm64 architecture#3
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds support for the linux-arm64 target, updating the build scripts, runtime embedding, distribution packaging, and platform update mechanisms. The feedback identifies two important issues: first, build_linux.sh must explicitly build both amd64 and arm64 runtimes because the compiler embeds both, and relying on the host's architecture will break the build; second, defaultProjectTarget() in src/project.go needs to handle macOS (darwin) explicitly to prevent generating a Linux target on macOS systems.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
|
thanks for the PR. i actually ended up refactoring how runtimes are handled in v0.2.7 to keep the compiler binary size down (it went from ~60MB to ~16MB). instead of embedding the runtimes, the compiler now pulls them directly from the github release page on demand and caches them in This also fixes the linux-arm64 support issue here. |
|
Nice. You took some of my code to solve the problem. Good luck with your project. |
This resolves #2 and adds support for arm64.