File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ Steps to publish a new Clippy version
2
2
3
3
- Bump ` package.version ` in ` ./Cargo.toml ` (no need to manually bump ` dependencies.clippy_lints.version ` ).
4
4
- Write a changelog entry.
5
- - If a nightly update is needed, update ` min_version.txt ` using ` rustc -vV > min_version.txt `
6
5
- Run ` ./pre_publish.sh `
7
6
- Review and commit all changed files
8
7
- ` git push `
Original file line number Diff line number Diff line change 1
- //! This build script ensures that Clippy is not compiled with an
2
- //! incompatible version of rust. It will panic with a descriptive
3
- //! error message instead.
4
- //!
5
- //! We specifially want to ensure that Clippy is only built with a
6
- //! rustc version that is newer or equal to the one specified in the
7
- //! `min_version.txt` file.
8
- //!
9
- //! `min_version.txt` is in the repo but also in the `.gitignore` to
10
- //! make sure that it is not updated manually by accident. Only CI
11
- //! should update that file.
12
- //!
13
- //! This build script was originally taken from the Rocket web framework:
14
- //! https://github.com/SergioBenitez/Rocket
15
-
16
1
use std:: env;
17
2
18
3
fn main ( ) {
You can’t perform that action at this time.
0 commit comments