zed-industries/zed · error · anyhow::Error
unsupported Copilot language server architecture: {architect
Error message
unsupported Copilot language server architecture: {architecture} What it means
Error "unsupported Copilot language server architecture: {architecture}" thrown in zed-industries/zed.
Source
Thrown at crates/copilot/src/copilot.rs:1403
if fs.is_file(&binary_path).await {
return Ok(binary_path);
}
anyhow::bail!("GitHub Copilot native language server binary was not installed")
}
fn copilot_lsp_native_binary_path() -> anyhow::Result<PathBuf> {
let platform = match env::consts::OS {
"linux" => "linux",
"macos" => "darwin",
"windows" => "win32",
platform => anyhow::bail!("unsupported Copilot language server platform: {platform}"),
};
let architecture = match env::consts::ARCH {
"aarch64" => "arm64",
"x86_64" => "x64",
architecture => {
anyhow::bail!("unsupported Copilot language server architecture: {architecture}")
}
};
let package_name = format!("copilot-language-server-{platform}-{architecture}");
let executable_name = if cfg!(target_os = "windows") {
"copilot-language-server.exe"
} else {
"copilot-language-server"
};
Ok(paths::copilot_dir()
.join("node_modules")
.join("@github")
.join(package_name)
.join(executable_name))
}
#[cfg(test)]View on GitHub (pinned to bc538def45)
When it happens
Trigger: Thrown at crates/copilot/src/copilot.rs:1403 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16).
Data as JSON: /api/errors/9a6a5cffbf1ebed4.
Report an issue: GitHub.