mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Rename cargo_watch -> flycheck
This commit is contained in:
parent
6343ddd009
commit
70730d7655
18 changed files with 29 additions and 29 deletions
30
Cargo.lock
generated
30
Cargo.lock
generated
|
@ -886,19 +886,6 @@ dependencies = [
|
||||||
"test_utils",
|
"test_utils",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "ra_cargo_watch"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"cargo_metadata",
|
|
||||||
"crossbeam-channel",
|
|
||||||
"insta",
|
|
||||||
"jod-thread",
|
|
||||||
"log",
|
|
||||||
"lsp-types",
|
|
||||||
"serde_json",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ra_cfg"
|
name = "ra_cfg"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
@ -923,6 +910,19 @@ dependencies = [
|
||||||
"test_utils",
|
"test_utils",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ra_flycheck"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"cargo_metadata",
|
||||||
|
"crossbeam-channel",
|
||||||
|
"insta",
|
||||||
|
"jod-thread",
|
||||||
|
"log",
|
||||||
|
"lsp-types",
|
||||||
|
"serde_json",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ra_fmt"
|
name = "ra_fmt"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
@ -1101,9 +1101,9 @@ dependencies = [
|
||||||
"cargo_metadata",
|
"cargo_metadata",
|
||||||
"log",
|
"log",
|
||||||
"ra_arena",
|
"ra_arena",
|
||||||
"ra_cargo_watch",
|
|
||||||
"ra_cfg",
|
"ra_cfg",
|
||||||
"ra_db",
|
"ra_db",
|
||||||
|
"ra_flycheck",
|
||||||
"ra_proc_macro",
|
"ra_proc_macro",
|
||||||
"rustc-hash",
|
"rustc-hash",
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -1300,8 +1300,8 @@ dependencies = [
|
||||||
"lsp-types",
|
"lsp-types",
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
"pico-args",
|
"pico-args",
|
||||||
"ra_cargo_watch",
|
|
||||||
"ra_db",
|
"ra_db",
|
||||||
|
"ra_flycheck",
|
||||||
"ra_hir",
|
"ra_hir",
|
||||||
"ra_hir_def",
|
"ra_hir_def",
|
||||||
"ra_hir_ty",
|
"ra_hir_ty",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "ra_cargo_watch"
|
name = "ra_flycheck"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["rust-analyzer developers"]
|
authors = ["rust-analyzer developers"]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
source: crates/ra_cargo_watch/src/conv/test.rs
|
source: crates/ra_flycheck/src/conv/test.rs
|
||||||
expression: diag
|
expression: diag
|
||||||
---
|
---
|
||||||
[
|
[
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
source: crates/ra_cargo_watch/src/conv/test.rs
|
source: crates/ra_flycheck/src/conv/test.rs
|
||||||
expression: diag
|
expression: diag
|
||||||
---
|
---
|
||||||
[
|
[
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
source: crates/ra_cargo_watch/src/conv/test.rs
|
source: crates/ra_flycheck/src/conv/test.rs
|
||||||
expression: diag
|
expression: diag
|
||||||
---
|
---
|
||||||
[
|
[
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
source: crates/ra_cargo_watch/src/conv/test.rs
|
source: crates/ra_flycheck/src/conv/test.rs
|
||||||
expression: diag
|
expression: diag
|
||||||
---
|
---
|
||||||
[
|
[
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
source: crates/ra_cargo_watch/src/conv/test.rs
|
source: crates/ra_flycheck/src/conv/test.rs
|
||||||
expression: diag
|
expression: diag
|
||||||
---
|
---
|
||||||
[
|
[
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
source: crates/ra_cargo_watch/src/conv/test.rs
|
source: crates/ra_flycheck/src/conv/test.rs
|
||||||
expression: diag
|
expression: diag
|
||||||
---
|
---
|
||||||
[
|
[
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
source: crates/ra_cargo_watch/src/conv/test.rs
|
source: crates/ra_flycheck/src/conv/test.rs
|
||||||
expression: diag
|
expression: diag
|
||||||
---
|
---
|
||||||
[
|
[
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
source: crates/ra_cargo_watch/src/conv/test.rs
|
source: crates/ra_flycheck/src/conv/test.rs
|
||||||
expression: diag
|
expression: diag
|
||||||
---
|
---
|
||||||
[
|
[
|
|
@ -16,7 +16,7 @@ cargo_metadata = "0.9.1"
|
||||||
ra_arena = { path = "../ra_arena" }
|
ra_arena = { path = "../ra_arena" }
|
||||||
ra_db = { path = "../ra_db" }
|
ra_db = { path = "../ra_db" }
|
||||||
ra_cfg = { path = "../ra_cfg" }
|
ra_cfg = { path = "../ra_cfg" }
|
||||||
ra_cargo_watch = { path = "../ra_cargo_watch" }
|
ra_flycheck = { path = "../ra_flycheck" }
|
||||||
ra_proc_macro = { path = "../ra_proc_macro" }
|
ra_proc_macro = { path = "../ra_proc_macro" }
|
||||||
|
|
||||||
serde = { version = "1.0.104", features = ["derive"] }
|
serde = { version = "1.0.104", features = ["derive"] }
|
||||||
|
|
|
@ -9,8 +9,8 @@ use std::{
|
||||||
use anyhow::{Context, Result};
|
use anyhow::{Context, Result};
|
||||||
use cargo_metadata::{BuildScript, CargoOpt, Message, MetadataCommand, PackageId};
|
use cargo_metadata::{BuildScript, CargoOpt, Message, MetadataCommand, PackageId};
|
||||||
use ra_arena::{Arena, Idx};
|
use ra_arena::{Arena, Idx};
|
||||||
use ra_cargo_watch::run_cargo;
|
|
||||||
use ra_db::Edition;
|
use ra_db::Edition;
|
||||||
|
use ra_flycheck::run_cargo;
|
||||||
use rustc_hash::FxHashMap;
|
use rustc_hash::FxHashMap;
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ threadpool = "1.7.1"
|
||||||
stdx = { path = "../stdx" }
|
stdx = { path = "../stdx" }
|
||||||
|
|
||||||
lsp-server = "0.3.1"
|
lsp-server = "0.3.1"
|
||||||
ra_cargo_watch = { path = "../ra_cargo_watch" }
|
ra_flycheck = { path = "../ra_flycheck" }
|
||||||
ra_ide = { path = "../ra_ide" }
|
ra_ide = { path = "../ra_ide" }
|
||||||
ra_prof = { path = "../ra_prof" }
|
ra_prof = { path = "../ra_prof" }
|
||||||
ra_project_model = { path = "../ra_project_model" }
|
ra_project_model = { path = "../ra_project_model" }
|
||||||
|
|
|
@ -21,7 +21,7 @@ use lsp_types::{
|
||||||
WorkDoneProgressBegin, WorkDoneProgressCreateParams, WorkDoneProgressEnd,
|
WorkDoneProgressBegin, WorkDoneProgressCreateParams, WorkDoneProgressEnd,
|
||||||
WorkDoneProgressReport,
|
WorkDoneProgressReport,
|
||||||
};
|
};
|
||||||
use ra_cargo_watch::{url_from_path_with_drive_lowercasing, CheckConfig, CheckTask};
|
use ra_flycheck::{url_from_path_with_drive_lowercasing, CheckConfig, CheckTask};
|
||||||
use ra_ide::{Canceled, FileId, InlayHintsConfig, LibraryData, SourceRootId};
|
use ra_ide::{Canceled, FileId, InlayHintsConfig, LibraryData, SourceRootId};
|
||||||
use ra_prof::profile;
|
use ra_prof::profile;
|
||||||
use ra_vfs::{VfsFile, VfsTask, Watch};
|
use ra_vfs::{VfsFile, VfsTask, Watch};
|
||||||
|
|
|
@ -11,7 +11,7 @@ use std::{
|
||||||
use crossbeam_channel::{unbounded, Receiver};
|
use crossbeam_channel::{unbounded, Receiver};
|
||||||
use lsp_types::Url;
|
use lsp_types::Url;
|
||||||
use parking_lot::RwLock;
|
use parking_lot::RwLock;
|
||||||
use ra_cargo_watch::{url_from_path_with_drive_lowercasing, CheckConfig, CheckWatcher};
|
use ra_flycheck::{url_from_path_with_drive_lowercasing, CheckConfig, CheckWatcher};
|
||||||
use ra_ide::{
|
use ra_ide::{
|
||||||
Analysis, AnalysisChange, AnalysisHost, CrateGraph, FileId, InlayHintsConfig, LibraryData,
|
Analysis, AnalysisChange, AnalysisHost, CrateGraph, FileId, InlayHintsConfig, LibraryData,
|
||||||
SourceRootId,
|
SourceRootId,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue