Skip to content

Commit ff34f15

Browse files
committed
chore: modify component installation command to specify pinned toolchain
1 parent 1667597 commit ff34f15

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ The Bevy CLI includes a [custom linter](bevy_lint) that integrates directly with
88

99
However, some components may be still missing due to a [`rustup` bug](https://github.com/rust-lang/rustup/issues/3255). If you get `can't find crate` errors when trying to build, run the following commands to manually add the required components:
1010

11-
```
12-
rustup component add rustc-dev llvm-tools-preview
13-
rustup component add --toolchain nightly rustc-dev llvm-tools-preview
11+
```bash
12+
rustup component add --toolchain nightly-2024-08-21 rustc-dev llvm-tools-preview
1413
```

rust-toolchain.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# If you modify this file, please also update `RUST_TOOLCHAIN` in `.github/workflows/ci.yml` and
2-
# the `clippy_utils` version in `bevy_lint/Cargo.toml`.
1+
# If you modify this file, please also update `RUST_TOOLCHAIN` in `.github/workflows/ci.yml`, the
2+
# `clippy_utils` version in `bevy_lint/Cargo.toml`, and the toolchain in `README.md`.
33

44
[toolchain]
55
# Writing custom lints requires using nightly Rust. We pin to a specific version of nightly version

0 commit comments

Comments
 (0)