Skip to content

Commit

Permalink
Specify toolchain version when installing dependencies (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
jubnzv authored Mar 14, 2024
1 parent fc8cee1 commit 2a5e43f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/linter/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ The linter requires two crates and a fixed Rust toolchain version. You can use
these commands to install the required dependencies:

```
rustup install nightly-2023-12-28
rustup component add rust-src --toolchain nightly-2023-12-28
cargo install cargo-dylint dylint-link
export TOOLCHAIN_VERSION=nightly-2023-12-28
rustup install $TOOLCHAIN_VERSION
rustup component add rust-src --toolchain $TOOLCHAIN_VERSION
rustup run $TOOLCHAIN_VERSION cargo install cargo-dylint dylint-link
```

Note that the linter requires this specific version of the toolchain, since it uses the internal compiler API.
Expand Down

0 comments on commit 2a5e43f

Please sign in to comment.