@@ -17,11 +17,11 @@ command_prefix: |
17
17
cargo-offline () { cargo --frozen --offline "$@"; }
18
18
19
19
# Use this wrapper for formatting code or checking that code is formatted. We use a nightly Rust
20
- # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2024-03-23 ]. The
20
+ # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2024-05-04 ]. The
21
21
# nightly version was chosen as the latest available release with all components present
22
22
# according to this page:
23
23
# https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu.html
24
- cargo-fmt () { cargo +nightly-2024-03-23 --frozen --offline fmt --all -- "$@"; }
24
+ cargo-fmt () { cargo +nightly-2024-05-04 --frozen --offline fmt --all -- "$@"; }
25
25
tasks :
26
26
install_packages :
27
27
description : Install system packages.
@@ -68,18 +68,18 @@ tasks:
68
68
- install_packages
69
69
- create_user
70
70
command : |
71
- # Install stable Rust [tag:rust_1.77 .0].
71
+ # Install stable Rust [tag:rust_1.78 .0].
72
72
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
73
73
-y \
74
- --default-toolchain 1.77 .0 \
74
+ --default-toolchain 1.78 .0 \
75
75
--profile minimal \
76
76
--component clippy
77
77
78
78
# Add Rust tools to `$PATH`.
79
79
. "$HOME/.cargo/env"
80
80
81
- # Install nightly Rust [ref:rust_fmt_nightly_2024-03-23 ].
82
- rustup toolchain install nightly-2024-03-23 --profile minimal --component rustfmt
81
+ # Install nightly Rust [ref:rust_fmt_nightly_2024-05-04 ].
82
+ rustup toolchain install nightly-2024-05-04 --profile minimal --component rustfmt
83
83
84
84
install_tools :
85
85
description : Install the tools needed to build and validate the program.
0 commit comments