Skip to content

Commit

Permalink
Update to 1.72
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Aug 25, 2023
1 parent f1f25e7 commit a0cd880
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "beta"
channel = "1.72.0"
components = ["llvm-tools-preview", "rustc-dev", "rust-src"]

0 comments on commit a0cd880

Please sign in to comment.