mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Switch from not_bash to xshell
This commit is contained in:
parent
f0412da4a2
commit
49a90d4c31
14 changed files with 181 additions and 325 deletions
|
@ -4,8 +4,7 @@ use std::{
|
|||
};
|
||||
|
||||
use anyhow::Result;
|
||||
|
||||
use crate::not_bash::{fs2, rm_rf};
|
||||
use xshell::rm_rf;
|
||||
|
||||
pub struct PreCacheCmd;
|
||||
|
||||
|
@ -26,7 +25,7 @@ impl PreCacheCmd {
|
|||
}
|
||||
}
|
||||
|
||||
fs2::remove_file("./target/.rustc_info.json")?;
|
||||
rm_rf("./target/.rustc_info.json")?;
|
||||
|
||||
let to_delete = read_dir("./crates", FileType::is_dir)?
|
||||
.into_iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue