CI: Enable clippy on Windows (#8240)

Release Notes:

- N/A
This commit is contained in:
白山風露 2024-02-24 09:23:42 +09:00 committed by GitHub
parent 885ae2d863
commit aef299be3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 53 additions and 44 deletions

View file

@ -156,6 +156,39 @@ mod linux {
}
}
// todo!("windows")
#[cfg(target_os = "windows")]
mod windows {
use std::path::Path;
use cli::{CliRequest, CliResponse};
use ipc_channel::ipc::{IpcReceiver, IpcSender};
use crate::{Bundle, InfoPlist};
impl Bundle {
pub fn detect(_args_bundle_path: Option<&Path>) -> anyhow::Result<Self> {
unimplemented!()
}
pub fn plist(&self) -> &InfoPlist {
unimplemented!()
}
pub fn path(&self) -> &Path {
unimplemented!()
}
pub fn launch(&self) -> anyhow::Result<(IpcSender<CliRequest>, IpcReceiver<CliResponse>)> {
unimplemented!()
}
pub fn zed_version_string(&self) -> String {
unimplemented!()
}
}
}
#[cfg(target_os = "macos")]
mod mac_os {
use anyhow::Context;