{"record":{"id":"18ecb97729953e29","repo":"DioxusLabs/dioxus","slug":"unsupported-architecture","errorCode":null,"errorMessage":"Unsupported architecture","messagePattern":"Unsupported architecture","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/cli/update.rs","lineNumber":96,"sourceCode":"                    .get_latest_release()\n                    .context(\"Failed to fetch latest version\")?,\n            };\n\n            if latest.version == cargo_crate_version!() && !force {\n                tracing::info!(\"Your version {} is up to date!\", cargo_crate_version!());\n                return Ok(StructuredOutput::Success);\n            }\n\n            tracing::info!(\"Your version is out of date!\");\n            tracing::info!(\"- Yours:  {}\", cargo_crate_version!());\n            tracing::info!(\"- Latest: {}\", latest.version);\n\n            let cur_arch = if cfg!(target_arch = \"x86_64\") {\n                \"x86_64\"\n            } else if cfg!(target_arch = \"aarch64\") {\n                \"aarch64\"\n            } else {\n                bail!(\"Unsupported architecture\");\n            };\n\n            let cur_os = if cfg!(target_os = \"windows\") {\n                \"windows\"\n            } else if cfg!(target_os = \"linux\") {\n                \"linux\"\n            } else if cfg!(target_os = \"macos\") {\n                \"darwin\"\n            } else {\n                bail!(\"Unsupported OS\");\n            };\n\n            let zip_ext = \"zip\";\n\n            tracing::debug!(\"Available assets: {:?}\", latest.assets);\n\n            let asset = latest\n                .assets","sourceCodeStart":78,"sourceCodeEnd":114,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/cli/src/cli/update.rs#L78-L114","documentation":"Platform guard in self_update: a compile-time cfg! cascade over target_arch recognized neither x86_64 nor aarch64, so the CLI build is running on a CPU architecture for which no prebuilt dx release asset exists. The input at fault is the current host architecture, which the updater cannot map to a downloadable binary.","triggerScenarios":"Thrown at packages/cli/src/cli/update.rs:96 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["dx self-update does not support this architecture. Install dx manually for this platform."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}