Support cargo-binstall on riscv64 Linux

This commit is contained in:
Taiki Endo
2026-05-04 20:39:44 +09:00
parent 57f2d4f754
commit c2126fb235
4 changed files with 16 additions and 4 deletions

View File

@@ -10,18 +10,20 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
- Support `cargo-binstall` on riscv64 Linux.
- Update `cargo-deb@latest` to 3.7.0.
- Update `tombi@latest` to 0.10.2.
## [2.75.30] - 2026-05-03
- Support `cargo-spellcheck` on AArch64 Linux/Windows.
- Update `cargo-spellcheck@latest` to 0.15.7.
- Update `biome@latest` to 2.4.14.
- Support `cargo-spellcheck` on AArch64 Linux/Windows.
## [2.75.29] - 2026-05-02
- Update `syft@latest` to 1.44.0.

View File

@@ -925,7 +925,7 @@ if [[ ${#unsupported_tools[@]} -gt 0 ]]; then
none) bail "install-action does not support ${unsupported_tools[*]} (fallback is disabled by 'fallback: none' input option)" ;;
cargo-binstall)
case "${host_arch}" in
x86_64 | aarch64) ;;
x86_64 | aarch64 | riscv64) ;;
*)
info "cargo-binstall does not provide prebuilt binaries for this platform (${host_arch}); use 'cargo-install' fallback instead"
fallback=cargo-install

View File

@@ -18,6 +18,9 @@
},
"aarch64_windows": {
"url": "https://github.com/cargo-bins/cargo-binstall/releases/download/v${version}/cargo-binstall-aarch64-pc-windows-msvc.zip"
},
"riscv64_linux_musl": {
"url": "https://github.com/cargo-bins/cargo-binstall/releases/download/v${version}/cargo-binstall-riscv64gc-unknown-linux-musl.tgz"
}
},
"latest": {
@@ -47,6 +50,10 @@
"aarch64_windows": {
"etag": "0x8DE9959EAAC5732",
"hash": "c6873e81457d9e44973a8e9a849795f2c83765fce0af8ad68b597b5b40dec418"
},
"riscv64_linux_musl": {
"etag": "0x8DE9959DFE57CE6",
"hash": "3eb039f14fa71dd27b614bf692f0bffd4ba087204829805d54b014646aed7c14"
}
}
}

View File

@@ -18,6 +18,9 @@
"asset_name": "${package}-${rust_target}.tgz"
},
"aarch64_macos": {},
"aarch64_windows": {}
"aarch64_windows": {},
"riscv64_linux_musl": {
"asset_name": "${package}-${rust_target}.tgz"
}
}
}