File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -145,13 +145,28 @@ using that version of Rust.
145145
146146You can use [ rustup-toolchain-install-master] [ rtim ] to do that:
147147
148- ```
148+ ``` bash
149149cargo install rustup-toolchain-install-master
150150rustup-toolchain-install-master -n master --force
151151rustup override set master
152152cargo 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 the toolstate.
157+
158+ To submit a pull request, you should follow these steps:
159+
160+ ``` bash
161+ # Assuming you already cloned the rust-lang/rust repo and you're in the correct directory
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
157172Clippy 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
You can’t perform that action at this time.
0 commit comments