diff options
Diffstat (limited to 'crates/flycheck')
-rw-r--r-- | crates/flycheck/Cargo.toml | 9 | ||||
-rw-r--r-- | crates/flycheck/src/lib.rs | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/crates/flycheck/Cargo.toml b/crates/flycheck/Cargo.toml index ff8a1e568..262a66e4e 100644 --- a/crates/flycheck/Cargo.toml +++ b/crates/flycheck/Cargo.toml | |||
@@ -1,9 +1,9 @@ | |||
1 | [package] | 1 | [package] |
2 | edition = "2018" | ||
3 | name = "flycheck" | 2 | name = "flycheck" |
4 | version = "0.1.0" | 3 | version = "0.0.0" |
5 | authors = ["rust-analyzer developers"] | ||
6 | license = "MIT OR Apache-2.0" | 4 | license = "MIT OR Apache-2.0" |
5 | authors = ["rust-analyzer developers"] | ||
6 | edition = "2018" | ||
7 | 7 | ||
8 | [lib] | 8 | [lib] |
9 | doctest = false | 9 | doctest = false |
@@ -14,4 +14,5 @@ log = "0.4.8" | |||
14 | cargo_metadata = "0.11.1" | 14 | cargo_metadata = "0.11.1" |
15 | serde_json = "1.0.48" | 15 | serde_json = "1.0.48" |
16 | jod-thread = "0.1.1" | 16 | jod-thread = "0.1.1" |
17 | ra_toolchain = { path = "../ra_toolchain" } | 17 | |
18 | toolchain = { path = "../toolchain" } | ||
diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs index 31e14246d..16078d104 100644 --- a/crates/flycheck/src/lib.rs +++ b/crates/flycheck/src/lib.rs | |||
@@ -193,7 +193,7 @@ impl FlycheckActor { | |||
193 | extra_args, | 193 | extra_args, |
194 | features, | 194 | features, |
195 | } => { | 195 | } => { |
196 | let mut cmd = Command::new(ra_toolchain::cargo()); | 196 | let mut cmd = Command::new(toolchain::cargo()); |
197 | cmd.arg(command); | 197 | cmd.arg(command); |
198 | cmd.args(&["--workspace", "--message-format=json", "--manifest-path"]) | 198 | cmd.args(&["--workspace", "--message-format=json", "--manifest-path"]) |
199 | .arg(self.workspace_root.join("Cargo.toml")); | 199 | .arg(self.workspace_root.join("Cargo.toml")); |