@@ -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_2022-07-05 ]. The
20
+ # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2022-11-03 ]. 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-2022-07-05 --frozen --offline fmt --all -- "$@"; }
24
+ cargo-fmt () { cargo +nightly-2022-11-03 --frozen --offline fmt --all -- "$@"; }
25
25
tasks :
26
26
install_packages :
27
27
description : Install system packages.
@@ -58,18 +58,18 @@ tasks:
58
58
- install_packages
59
59
- create_user
60
60
command : |
61
- # Install stable Rust [tag:rust_1.62 .0].
61
+ # Install stable Rust [tag:rust_1.65 .0].
62
62
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
63
63
-y \
64
- --default-toolchain 1.62 .0 \
64
+ --default-toolchain 1.65 .0 \
65
65
--profile minimal \
66
66
--component clippy
67
67
68
68
# Add Rust tools to `$PATH`.
69
69
. "$HOME/.cargo/env"
70
70
71
- # Install nightly Rust [ref:rust_fmt_nightly_2022-07-05 ].
72
- rustup toolchain install nightly-2022-07-05 --profile minimal --component rustfmt
71
+ # Install nightly Rust [ref:rust_fmt_nightly_2022-11-03 ].
72
+ rustup toolchain install nightly-2022-11-03 --profile minimal --component rustfmt
73
73
74
74
install_tools :
75
75
description : Install the tools needed to build and validate the program.
0 commit comments