Skip to content

fix(nestjs-trpc): replace cross with cargo-zigbuild for linux arm64#77

Merged
KevinEdry merged 1 commit intomainfrom
fix/linux-arm64-cross-compile
Feb 8, 2026
Merged

fix(nestjs-trpc): replace cross with cargo-zigbuild for linux arm64#77
KevinEdry merged 1 commit intomainfrom
fix/linux-arm64-cross-compile

Conversation

@KevinEdry
Copy link
Owner

Summary

The cross Docker image has a glibc too old for the current ubuntu-latest runner, causing Linux ARM64 builds to fail. Switch to cargo-zigbuild which cross-compiles using Zig as a linker — no Docker needed.

Changes

  • Replace cargo install cross with pip3 install ziglang && cargo install cargo-zigbuild in release workflow
  • Update build-cli.sh to prefer cargo-zigbuild over cross for cross-compilation

@vercel
Copy link

vercel bot commented Feb 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nestjs-trpc-docs Ready Ready Preview, Comment Feb 8, 2026 4:45pm

Request Review

@KevinEdry KevinEdry merged commit 86c7533 into main Feb 8, 2026
5 checks passed
@KevinEdry KevinEdry deleted the fix/linux-arm64-cross-compile branch February 8, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant