Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 4d8b0a1

Browse files
Merge pull request #1782 from ehuss/update-cargo
Update cargo
2 parents fcf1f94 + 3b16064 commit 4d8b0a1

File tree

4 files changed

+36
-29
lines changed

4 files changed

+36
-29
lines changed

Cargo.lock

+32-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ rls-vfs = "0.8"
3131
rls-ipc = { version = "0.1.0", path = "rls-ipc", optional = true }
3232

3333
anyhow = "1.0.26"
34-
cargo = { git = "https://github.com/rust-lang/cargo", rev = "3f052d8eed98c6a24f8b332fb2e6e6249d12d8c1" }
35-
cargo-util = { git = "https://github.com/rust-lang/cargo", rev = "3f052d8eed98c6a24f8b332fb2e6e6249d12d8c1" }
34+
cargo = { git = "https://github.com/rust-lang/cargo", rev = "5514f1e0e1b3650ed8a78306198e90b66b292693" }
35+
cargo-util = { git = "https://github.com/rust-lang/cargo", rev = "5514f1e0e1b3650ed8a78306198e90b66b292693" }
3636
cargo_metadata = "0.14"
3737
clippy_lints = { git = "https://github.com/rust-lang/rust-clippy", version = "0.1.60", optional = true }
3838
env_logger = "0.9"

rls/src/build/cargo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ struct CargoOptions {
608608
all_features: bool,
609609
no_default_features: bool,
610610
features: Vec<String>,
611-
jobs: Option<u32>,
611+
jobs: Option<i32>,
612612
all_targets: bool,
613613
}
614614

rls/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ pub struct Config {
145145
pub features: Vec<String>,
146146
pub all_features: bool,
147147
pub no_default_features: bool,
148-
pub jobs: Option<u32>,
148+
pub jobs: Option<i32>,
149149
pub all_targets: bool,
150150
/// Enables use of Racer for `textDocument/completion` requests.
151151
///

0 commit comments

Comments
 (0)