mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Simplify
This commit is contained in:
parent
5acb467894
commit
2ae71a9ed0
1 changed files with 2 additions and 5 deletions
|
@ -109,11 +109,8 @@ fn install_clippy() -> Result<()> {
|
||||||
|
|
||||||
pub fn run_fuzzer() -> Result<()> {
|
pub fn run_fuzzer() -> Result<()> {
|
||||||
let _d = pushd("./crates/ra_syntax");
|
let _d = pushd("./crates/ra_syntax");
|
||||||
match run!("cargo fuzz --help") {
|
if run!("cargo fuzz --help").is_err() {
|
||||||
Ok(_) => (),
|
run!("cargo install cargo-fuzz")?;
|
||||||
_ => {
|
|
||||||
run!("cargo install cargo-fuzz")?;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
run!("rustup run nightly -- cargo fuzz run parser")?;
|
run!("rustup run nightly -- cargo fuzz run parser")?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue