Skip to content

Commit c951a3c

Browse files
committed
Run cargo collect-metadata in cargo dev serve
1 parent fe25282 commit c951a3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_dev/src/serve.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ pub fn run(port: u16, lint: Option<&str>) -> ! {
1515

1616
loop {
1717
if mtime("util/gh-pages/lints.json") < mtime("clippy_lints/src") {
18-
Command::new("python3")
19-
.arg("util/export.py")
18+
Command::new("cargo")
19+
.arg("collect-metadata")
2020
.spawn()
2121
.unwrap()
2222
.wait()

0 commit comments

Comments
 (0)