Skip to content

fix: add Rust target triple aliases for asset matching#20

Merged
clawdeeo merged 1 commit intomainfrom
fix/add-rust-target-aliases
Apr 22, 2026
Merged

fix: add Rust target triple aliases for asset matching#20
clawdeeo merged 1 commit intomainfrom
fix/add-rust-target-aliases

Conversation

@clawdeeo
Copy link
Copy Markdown
Collaborator

Problem

Ripgrep uses Rust target triple naming (x86_64-unknown-linux-musl) instead of our simple format (linux-x86_64).

Error

$ gitclaw install BurntSushi/ripgrep
Error: No suitable asset for linux-x86_64

Fix

Added Rust target triple aliases to match ripgrep and other Rust projects:

  • x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl
  • aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl

After

$ gitclaw install BurntSushi/ripgrep
Release: 15.1.0
Asset: ripgrep-15.1.0-x86_64-unknown-linux-musl.tar.gz ✓

Ripgrep and other Rust projects use Rust target triple naming like:
  x86_64-unknown-linux-musl (Linux)
  x86_64-apple-darwin (macOS)
  x86_64-pc-windows-msvc (Windows)

Added target triples to all platforms:
- Linux: x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl,
         aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl
- Darwin: x86_64-apple-darwin, aarch64-apple-darwin
- Windows: x86_64-pc-windows-msvc, x86_64-pc-windows-gnu,
           aarch64-pc-windows-msvc

Fixes 'No suitable asset' errors on ripgrep and other Rust projects.
@clawdeeo clawdeeo force-pushed the fix/add-rust-target-aliases branch from 760fd96 to a710937 Compare April 22, 2026 09:44
@clawdeeo clawdeeo merged commit 4d6c07e into main Apr 22, 2026
8 checks passed
@clawdeeo clawdeeo deleted the fix/add-rust-target-aliases branch April 22, 2026 09: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