X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=5753730053f4cb6b29827584397faa7cf8919c2f;hb=b96fa1a25ced4cfa72923e6d45f47f36c2c00ce0;hp=1e83f05e0ca74ed2d0b849654df63464635bbec0;hpb=65820098b959a158e910a2992fb0784927c31bc1;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 1e83f05e0ca..5753730053f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,21 +97,6 @@ gimli.debug = 0 miniz_oxide.debug = 0 object.debug = 0 -# We want the RLS to use the version of Cargo that we've got vendored in this -# repository to ensure that the same exact version of Cargo is used by both the -# RLS and the Cargo binary itself. The RLS depends on Cargo as a git repository -# so we use a `[patch]` here to override the github repository with our local -# vendored copy. -[patch."https://github.com/rust-lang/cargo"] -cargo = { path = "src/tools/cargo" } -cargo-util = { path = "src/tools/cargo/crates/cargo-util" } - -[patch."https://github.com/rust-lang/rustfmt"] -# Similar to Cargo above we want the RLS to use a vendored version of `rustfmt` -# that we're shipping as well (to ensure that the rustfmt in RLS and the -# `rustfmt` executable are the same exact version). -rustfmt-nightly = { path = "src/tools/rustfmt" } - [patch.crates-io] # See comments in `src/tools/rustc-workspace-hack/README.md` for what's going on # here