{"record":{"id":"f88c549d5c5558d9","repo":"Hmbown/CodeWhale","slug":"linux-riscv64-release-assets-are-temporarily-unava","errorCode":null,"errorMessage":"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.","messagePattern":"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\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/cli/src/update.rs","lineNumber":1031,"sourceCode":"    let bytes = fetch_manifest(candidate)\n        .with_context(|| format!(\"failed to fetch {}\", candidate.manifest_url))?;\n    let text = std::str::from_utf8(&bytes)\n        .with_context(|| format!(\"{} is not valid UTF-8\", candidate.manifest_url))?;\n    let checksums = parse_checksum_manifest(text)\n        .with_context(|| format!(\"failed to parse {}\", candidate.manifest_url))?;\n    if !checksums.contains_key(&candidate.binary_name) {\n        bail!(\n            \"{} does not list {}\",\n            candidate.manifest_url,\n            candidate.binary_name\n        );\n    }\n    Ok(checksums)\n}\n\nfn ensure_supported_release_target(os: &str, arch: &str) -> Result<()> {\n    if os == \"linux\" && arch == \"riscv64\" {\n        bail!(\n            \"Linux riscv64 release assets are temporarily unavailable because \\\n             rquickjs-sys 0.12.0 does not ship riscv64gc-unknown-linux-gnu bindings. \\\n             See docs/INSTALL.md for the current platform matrix.\"\n        );\n    }\n    Ok(())\n}\n\npub(crate) fn release_arch_for_rust_arch(arch: &str) -> &str {\n    match arch {\n        \"aarch64\" => \"arm64\",\n        \"x86_64\" => \"x64\",\n        other => other,\n    }\n}\n\n/// Returns true when the binary name belongs to the pre-rebrand `deepseek-tui` era.\npub(crate) fn is_legacy_binary(current_exe: &Path) -> bool {","sourceCodeStart":1013,"sourceCodeEnd":1049,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/73e0f67d83c59909b571efdfc88c4bc28c309cb1/crates/cli/src/update.rs#L1013-L1049","documentation":"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.","triggerScenarios":"run_update calls ensure_supported_release_target(os, arch) and detects os == \"linux\" && arch == \"riscv64\" before any network activity.","commonSituations":"Running codewhale on a RISC-V Linux board/machine and attempting `codewhale update`; CI on riscv64 runners.","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."],"exampleFix":"// before\n$ codewhale update  # riscv64 refused\n// after\n$ cargo build --release -p codewhale-cli --target riscv64gc-unknown-linux-gnu","handlingStrategy":"validation","validationCode":"const UNSUPPORTED: &[(&str,&str)] = &[(\"linux\",\"riscv64\")];\nfn update_supported(os: &str, arch: &str) -> bool {\n    !UNSUPPORTED.contains(&(os, arch))\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["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"],"tags":["platform-support","riscv64","self-update","dependency-bindings"],"backgroundTag":"unsupported-platform","analyzedSha":"73e0f67d83c59909b571efdfc88c4bc28c309cb1","analyzedAt":"2026-09-22T01:30:00.501Z","contentChangedAt":"2026-09-22T01:30:00.501Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}