Skip to content

Commit 22246e0

Browse files
committed
Update Rust to v1.78.0
1 parent b5024c4 commit 22246e0

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ jobs:
7878
set -euxo pipefail
7979
8080
# Install the appropriate version of Rust.
81-
rustup toolchain install 1.77.0 # [ref:rust_1.77.0]
82-
rustup default 1.77.0 # [ref:rust_1.77.0]
81+
rustup toolchain install 1.78.0 # [ref:rust_1.78.0]
82+
rustup default 1.78.0 # [ref:rust_1.78.0]
8383
8484
# Add the targets.
8585
rustup target add x86_64-pc-windows-msvc
@@ -118,8 +118,8 @@ jobs:
118118
set -euxo pipefail
119119
120120
# Install the appropriate version of Rust.
121-
rustup toolchain install 1.77.0 # [ref:rust_1.77.0]
122-
rustup default 1.77.0 # [ref:rust_1.77.0]
121+
rustup toolchain install 1.78.0 # [ref:rust_1.78.0]
122+
rustup default 1.78.0 # [ref:rust_1.78.0]
123123
124124
# Add the targets.
125125
rustup target add x86_64-apple-darwin
@@ -191,8 +191,8 @@ jobs:
191191
set -euxo pipefail
192192
193193
# Install the appropriate version of Rust.
194-
rustup toolchain install 1.77.0 # [ref:rust_1.77.0]
195-
rustup default 1.77.0 # [ref:rust_1.77.0]
194+
rustup toolchain install 1.78.0 # [ref:rust_1.78.0]
195+
rustup default 1.78.0 # [ref:rust_1.78.0]
196196
197197
# Fetch the program version.
198198
VERSION="$(cargo pkgid | cut -d# -f2 | cut -d: -f2)"

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ repository = "https://github.com/stepchowfun/tagref"
1111
readme = "README.md"
1212

1313
[lints]
14-
clippy.all = "deny"
14+
clippy.all = { level = "deny", priority = -1 }
1515
clippy.default_numeric_fallback = "deny"
16-
clippy.pedantic = "deny"
16+
clippy.pedantic = { level = "deny", priority = -1 }
1717
rust.warnings = "deny"
1818

1919
[dependencies]

toast.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ command_prefix: |
1717
cargo-offline () { cargo --frozen --offline "$@"; }
1818
1919
# 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
2121
# nightly version was chosen as the latest available release with all components present
2222
# according to this page:
2323
# 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 -- "$@"; }
2525
tasks:
2626
install_packages:
2727
description: Install system packages.
@@ -68,18 +68,18 @@ tasks:
6868
- install_packages
6969
- create_user
7070
command: |
71-
# Install stable Rust [tag:rust_1.77.0].
71+
# Install stable Rust [tag:rust_1.78.0].
7272
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
7373
-y \
74-
--default-toolchain 1.77.0 \
74+
--default-toolchain 1.78.0 \
7575
--profile minimal \
7676
--component clippy
7777
7878
# Add Rust tools to `$PATH`.
7979
. "$HOME/.cargo/env"
8080
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
8383
8484
install_tools:
8585
description: Install the tools needed to build and validate the program.

0 commit comments

Comments
 (0)