Run clippy for Windows (#15318)
This PR fixes running clippy on Windows, as it broke in #13223. We can't run shell scripts on Windows, so we need to use something else. Release Notes: - N/A
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#![cfg_attr(target_os = "windows", allow(unused, dead_code))]
|
||||
|
||||
use fs::RealFs;
|
||||
use futures::channel::mpsc;
|
||||
use gpui::Context as _;
|
||||
@@ -15,6 +17,12 @@ use std::{
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
#[cfg(windows)]
|
||||
fn main() {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
fn main() {
|
||||
env::set_var("RUST_BACKTRACE", "1");
|
||||
env_logger::builder()
|
||||
|
||||
Reference in New Issue
Block a user