]> git.proxmox.com Git - rustc.git/blob - debian/patches/d-0005-clippy-feature-sync.patch
sync clippy and rustfmt dep feature
[rustc.git] / debian / patches / d-0005-clippy-feature-sync.patch
1 enable features needed by rustfmt to make build system happy and speedup build.
2 this is what rustc_workspace_hack does in the upstream build.
3
4 diff --git a/src/tools/clippy/clippy_lints/Cargo.toml b/src/tools/clippy/clippy_lints/Cargo.toml
5 index e959c1a6511..39308996342 100644
6 --- a/src/tools/clippy/clippy_lints/Cargo.toml
7 +++ b/src/tools/clippy/clippy_lints/Cargo.toml
8 @@ -25,7 +25,7 @@ pulldown-cmark = { version = "0.8", default-features = false }
9 quine-mc_cluskey = "0.2.2"
10 regex-syntax = "0.6"
11 serde = { version = "1.0", features = ["derive"] }
12 -smallvec = { version = "1", features = ["union"] }
13 +smallvec = { version = "1", features = ["may_dangle", "union"] }
14 toml = "0.5.3"
15 unicode-normalization = "0.1"
16 semver = "0.11"
17 diff --git a/src/tools/rustfmt/Cargo.toml b/src/tools/rustfmt/Cargo.toml
18 index 0f5bec2dcca..c9a64f05949 100644
19 --- a/src/tools/rustfmt/Cargo.toml
20 +++ b/src/tools/rustfmt/Cargo.toml
21 @@ -37,7 +37,7 @@ generic-simd = ["bytecount/generic-simd"]
22 itertools = "0.8"
23 toml = "0.5"
24 serde = { version = "1.0", features = ["derive"] }
25 -serde_json = "1.0"
26 +serde_json = { version = "1.0", features = ["unbounded_depth"] }
27 unicode-segmentation = "1.0.0"
28 regex = "1.0"
29 term = "0.6"