mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Merge #3141
3141: Simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
2316f8cf4a
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…
Reference in a new issue