You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: contributing.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,18 @@ you'll need a recent nightly compiler to build it.
46
46
git clone https://github.com/rust-lang/rls.git
47
47
cd rls
48
48
cargo build --release
49
-
```
49
+
``````
50
+
51
+
#### If RLS couldn't be built with clippy
52
+
53
+
Sometimes nightly toolchain changes break the `clippy_lints` dependency.
54
+
Since RLS depends on `clippy_lints` by default, those changes can also break RLS itself.
55
+
In this case, you can build RLS like this:
56
+
57
+
`cargo build --no-default-features` (disabling the clippy feature)
50
58
59
+
And sometimes git revision of `clippy` submodule in the Rust repo (https://github.com/rust-lang/rust/tree/master/src/tools) and `clippy_lints` dependency of RLS is different.
60
+
In this case, submit a PR here updating the `clippy_lints` dependency to the git revision pulled from the Rust tree.
0 commit comments