diff --git a/README.md b/README.md index adc7d4d..c1b5d48 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ cd klint cargo install --path . ``` -Note that klint currently is based on Rust 1.71 so it is likely that running `cargo install --git` will not work as it will not use the `rust-toolchain` file in the repository. +Note that klint is pinned to a Rust version so it is likely that running `cargo install --git` will not work as it will not use the `rust-toolchain` file in the repository. To run this tool, use rustup which will prepare the necessary environment variables: ``` -rustup run 1.71.0 klint +rustup run 1.72.0 klint ``` `klint` will behave like rustc, just with additional lints. diff --git a/rust-toolchain b/rust-toolchain index 81fae0c..41cd68b 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,3 +1,3 @@ [toolchain] -channel = "beta" +channel = "1.72.0" components = ["llvm-tools-preview", "rustc-dev", "rust-src"]