diff --git a/code-rs/cli/src/update.rs b/code-rs/cli/src/update.rs index 1b3c1000231..6127d989409 100644 --- a/code-rs/cli/src/update.rs +++ b/code-rs/cli/src/update.rs @@ -214,6 +214,7 @@ fn http_client(user_agent: &str) -> anyhow::Result { .build()?) } +#[cfg(target_family = "unix")] async fn install_direct_binary(asset: &PlatformAsset, exe: &Path) -> anyhow::Result<()> { use std::os::unix::fs::PermissionsExt;