Hmbown/CodeWhale · error
Linux riscv64 release assets are temporarily unavailable…
Error message
Linux riscv64 release assets are temporarily unavailable because rquickjs-sys 0.12.0 does not ship riscv64gc-unknown-linux-gnu bindings. See docs/INSTALL.md for the current platform matrix.
What it means
ensure_supported_release_target explicitly rejects Linux riscv64 updates: rquickjs-sys 0.12.0 does not ship riscv64gc-unknown-linux-gnu bindings, so no release assets can be built for that target. The error directs users to docs/INSTALL.md for the current platform matrix. This is a deliberate, documented unsupported-platform guard, not a transient failure.
Solutions
- Build from source with a toolchain that can compile the dependency chain for riscv64 (or wait until rquickjs-sys ships the bindings).
- Consult docs/INSTALL.md platform matrix for supported targets.
- Run codewhale on a supported architecture (x86_64/aarch64) via emulation or remote host.
Example fix
// before $ codewhale update # riscv64 refused // after $ cargo build --release -p codewhale-cli --target riscv64gc-unknown-linux-gnu
Defensive patterns
Strategy: validation
Validate before calling
const UNSUPPORTED: &[(&str,&str)] = &[("linux","riscv64")];
fn update_supported(os: &str, arch: &str) -> bool {
!UNSUPPORTED.contains(&(os, arch))
} Prevention
- Consult docs/INSTALL.md platform matrix before provisioning on riscv64
- Track rquickjs-sys releases for riscv64gc-unknown-linux-gnu bindings before enabling updates
- Build from source for unsupported targets
When it happens
Trigger: run_update calls ensure_supported_release_target(os, arch) and detects os == "linux" && arch == "riscv64" before any network activity.
Common situations: Running codewhale on a RISC-V Linux board/machine and attempting `codewhale update`; CI on riscv64 runners.
Understand the failure class
Background: "unsupported platform" / "not supported on this platform" errors: what they mean and how to fix them — this error's family across 47 libraries.
Related errors
- no release source publishes an asset for this platform
- Android identifies runtime linker ` `; refusing to use the…
- Android reported deleted loaded image
- Android reported non-absolute loaded-image path
- Android dladdr could not locate the updater's loaded image
AI-assisted analysis of Hmbown/CodeWhale@73e0f67d83 (2026-09-22).
Data as JSON: /api/errors/f88c549d5c5558d9.
Report an issue: GitHub.
Appendix: source
Thrown at crates/cli/src/update.rs:1031
let bytes = fetch_manifest(candidate)
.with_context(|| format!("failed to fetch {}", candidate.manifest_url))?;
let text = std::str::from_utf8(&bytes)
.with_context(|| format!("{} is not valid UTF-8", candidate.manifest_url))?;
let checksums = parse_checksum_manifest(text)
.with_context(|| format!("failed to parse {}", candidate.manifest_url))?;
if !checksums.contains_key(&candidate.binary_name) {
bail!(
"{} does not list {}",
candidate.manifest_url,
candidate.binary_name
);
}
Ok(checksums)
}
fn ensure_supported_release_target(os: &str, arch: &str) -> Result<()> {
if os == "linux" && arch == "riscv64" {
bail!(
"Linux riscv64 release assets are temporarily unavailable because \
rquickjs-sys 0.12.0 does not ship riscv64gc-unknown-linux-gnu bindings. \
See docs/INSTALL.md for the current platform matrix."
);
}
Ok(())
}
pub(crate) fn release_arch_for_rust_arch(arch: &str) -> &str {
match arch {
"aarch64" => "arm64",
"x86_64" => "x64",
other => other,
}
}
/// Returns true when the binary name belongs to the pre-rebrand `deepseek-tui` era.
pub(crate) fn is_legacy_binary(current_exe: &Path) -> bool {View on GitHub (pinned to 73e0f67d83)