We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e2291c + 2a1c8b1 commit dec389aCopy full SHA for dec389a
README.md
@@ -108,6 +108,18 @@ script:
108
# etc.
109
```
110
111
+It might happen that clippy is not available for a certain nightly release.
112
+In this case you can try to conditionally install clippy from the git repo.
113
+
114
+```yaml
115
+language: rust
116
+rust:
117
+ - nightly
118
+before_script:
119
+ - rustup component add clippy-preview --toolchain=nightly || cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy
120
+ # etc
121
+```
122
123
## Configuration
124
125
Some lints can be configured in a TOML file named `clippy.toml` or `.clippy.toml`. It contains a basic `variable = value` mapping eg.
0 commit comments