This repository was archived by the owner on Jan 30, 2026. It is now read-only.
fix: use cross instead of musl.cc for static bins#202
Merged
infiniteregrets merged 3 commits intomainfrom Jan 20, 2026
Merged
Conversation
Greptile SummaryReplaced manual download and setup of the aarch64 musl cross-compilation toolchain from musl.cc with the Key changes:
This improves maintainability by using a well-maintained community tool instead of manually managing cross-compilation toolchains. Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant GHA as GitHub Actions
participant Setup as Setup Steps
participant CrossTool as Cross Tool
participant Cargo as Cargo Build
participant Artifact as Artifact Upload
Note over GHA,Artifact: aarch64-unknown-linux-musl target build flow
GHA->>Setup: Checkout code
GHA->>Setup: Setup Rust toolchain
alt use_cross = true
Setup->>CrossTool: Install cross from GitHub
CrossTool-->>Setup: cross installed
Setup->>Cargo: cross build --release --target aarch64-unknown-linux-musl
else use_cross = false
Setup->>Cargo: cargo build --release --target <target>
end
Cargo-->>Setup: Build complete
Setup->>Artifact: Prepare and upload artifacts
Artifact-->>GHA: Build artifacts ready
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.