Skip to content

feat(ci): add linux-arm64 support#34

Merged
sonesuke merged 1 commit intomainfrom
feat/add-linux-arm64-support
Feb 22, 2026
Merged

feat(ci): add linux-arm64 support#34
sonesuke merged 1 commit intomainfrom
feat/add-linux-arm64-support

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

Summary

  • Add Cross.toml for cross-compilation configuration
  • Update release.yml to build linux-arm64 binary using cross
  • Re-enable linux-arm64 support in install.sh

Details

This PR restores linux-arm64 support that was previously dropped in #33.

Why cross?

The mcp-sdk-rs dependency uses native-tls (OpenSSL), which requires platform-specific libraries for cross-compilation. The cross tool handles this by:

  1. Using Docker containers with the target platform
  2. Installing required dependencies via Cross.toml pre-build script

Cross.toml

The pre-build script installs ARM64 OpenSSL libraries:

dpkg --add-architecture arm64 && apt-get update && apt-get install -y libssl-dev:arm64 pkg-config:arm64

Tested

  • ✅ Local cross-compilation: cross build --release --target aarch64-unknown-linux-gnu
  • ✅ Pre-commit checks (fmt, clippy, tests)

🤖 Generated with Claude Code

Add cross-compilation support for Linux ARM64 using the `cross` tool.
- Add Cross.toml with pre-build script to install arm64 OpenSSL libraries
- Update release.yml to build linux-arm64 binary with cross
- Re-enable linux-arm64 in install.sh

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@sonesuke sonesuke merged commit 79b5d84 into main Feb 22, 2026
4 checks passed
@sonesuke sonesuke deleted the feat/add-linux-arm64-support branch February 22, 2026 13:37
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.

2 participants