Skip to content

Commit e611a33

Browse files
committed
Add note to fix toolstate
1 parent a939d61 commit e611a33

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CONTRIBUTING.md

+16
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,21 @@ rustup override set master
152152
cargo test
153153
```
154154

155+
After fixing the build failure on this repository, we can submit a pull request
156+
to [`rust-lang/rust`] to fix toolstate.
157+
158+
To submit a pull request, you should follow these steps:
159+
160+
```
161+
# Assuming you already cloned the rust-lang/rust repo and you're in the correct dir
162+
git submodule update --remote src/tools/clippy
163+
cargo update -p clippy
164+
git add -u
165+
git commit -m "Update Clippy"
166+
./x.py test -i --stage 1 src/tools/clippy # This is optional and should succeed anyway
167+
# Open a PR in rust-lang/rust
168+
```
169+
155170
## Issue and PR triage
156171

157172
Clippy is following the [Rust triage procedure][triage] for issues and pull
@@ -211,3 +226,4 @@ or the [MIT](http://opensource.org/licenses/MIT) license.
211226
[homu]: https://github.com/servo/homu
212227
[homu_instructions]: https://buildbot2.rust-lang.org/homu/
213228
[homu_queue]: https://buildbot2.rust-lang.org/homu/queue/clippy
229+
[`rust-lang/rust`]: https://github.com/rust-lang/rust

0 commit comments

Comments
 (0)