Skip to content

Commit

Permalink
Auto merge of #5188 - alexcrichton:urgh-again, r=matklad
Browse files Browse the repository at this point in the history
Add a synthetic dependency on num-traits

Right now the rust-lang/rust integration is compiling Cargo twice on dist
builds, once for Cargo and once for the RLS. This is due to a dependency of
Cargo being recompiled with different features when used from the RLS or not.
For now paper over this problem with a synthetic dependency to prevent Cargo
from being compiled twice.
  • Loading branch information
bors committed Mar 15, 2018
2 parents b3df526 + 841f20a commit 6bdb5c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ toml = "0.4"
url = "1.1"
clap = "2.27.0"

# Not actually needed right now but required to make sure that rls/cargo build
# with the same set of features in rust-lang/rust
num-traits = "0.2" # enable the default feature

[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = { version = "0.5.1", features = ["mac_os_10_7_support"] }

Expand Down

0 comments on commit 6bdb5c5

Please sign in to comment.