aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-14 18:13:26 +0000
committerAleksey Kladov <[email protected]>2020-02-14 18:13:26 +0000
commit2ae71a9ed0df471b8982b847873ab5440463d78d (patch)
treeea14351ff9ad8c3a357965b2aac402fd95f26983 /xtask
parent5acb467894053cb0342eb6ded4d162b4a6912483 (diff)
Simplify
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/lib.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs
index 25b64301c..2bcd76d60 100644
--- a/xtask/src/lib.rs
+++ b/xtask/src/lib.rs
@@ -109,11 +109,8 @@ fn install_clippy() -> Result<()> {
109 109
110pub fn run_fuzzer() -> Result<()> { 110pub fn run_fuzzer() -> Result<()> {
111 let _d = pushd("./crates/ra_syntax"); 111 let _d = pushd("./crates/ra_syntax");
112 match run!("cargo fuzz --help") { 112 if run!("cargo fuzz --help").is_err() {
113 Ok(_) => (), 113 run!("cargo install cargo-fuzz")?;
114 _ => {
115 run!("cargo install cargo-fuzz")?;
116 }
117 }; 114 };
118 115
119 run!("rustup run nightly -- cargo fuzz run parser")?; 116 run!("rustup run nightly -- cargo fuzz run parser")?;