Skip to content

Commit 09a17fb

Browse files
authored
Merge pull request #102 from stepchowfun/rust-1.62.0
Upgrade to Rust 1.65.0
2 parents 302b27d + 6a909f2 commit 09a17fb

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Diff for: .github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
set -euo pipefail
5252
5353
# Install the appropriate version of Rust.
54-
rustup toolchain install 1.62.0 # [ref:rust_1.62.0]
55-
rustup default 1.62.0 # [ref:rust_1.62.0]
54+
rustup toolchain install 1.65.0 # [ref:rust_1.65.0]
55+
rustup default 1.65.0 # [ref:rust_1.65.0]
5656
5757
# Build and test.
5858
RUSTFLAGS='--codegen target-feature=+crt-static' cargo build \
@@ -75,8 +75,8 @@ jobs:
7575
set -euo pipefail
7676
7777
# Install the appropriate version of Rust.
78-
rustup toolchain install 1.62.0 # [ref:rust_1.62.0]
79-
rustup default 1.62.0 # [ref:rust_1.62.0]
78+
rustup toolchain install 1.65.0 # [ref:rust_1.65.0]
79+
rustup default 1.65.0 # [ref:rust_1.65.0]
8080
8181
# Build and test.
8282
cargo build --locked --release --target x86_64-apple-darwin
@@ -131,8 +131,8 @@ jobs:
131131
set -euo pipefail
132132
133133
# Install the appropriate version of Rust.
134-
rustup toolchain install 1.62.0 # [ref:rust_1.62.0]
135-
rustup default 1.62.0 # [ref:rust_1.62.0]
134+
rustup toolchain install 1.65.0 # [ref:rust_1.65.0]
135+
rustup default 1.65.0 # [ref:rust_1.65.0]
136136
137137
# Fetch the program version.
138138
VERSION="$(cargo pkgid | cut -d# -f2 | cut -d: -f2)"

Diff for: toast.yml

+6-6
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_2022-07-05]. The
20+
# version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2022-11-03]. 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-2022-07-05 --frozen --offline fmt --all -- "$@"; }
24+
cargo-fmt () { cargo +nightly-2022-11-03 --frozen --offline fmt --all -- "$@"; }
2525
tasks:
2626
install_packages:
2727
description: Install system packages.
@@ -58,18 +58,18 @@ tasks:
5858
- install_packages
5959
- create_user
6060
command: |
61-
# Install stable Rust [tag:rust_1.62.0].
61+
# Install stable Rust [tag:rust_1.65.0].
6262
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
6363
-y \
64-
--default-toolchain 1.62.0 \
64+
--default-toolchain 1.65.0 \
6565
--profile minimal \
6666
--component clippy
6767
6868
# Add Rust tools to `$PATH`.
6969
. "$HOME/.cargo/env"
7070
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
7373
7474
install_tools:
7575
description: Install the tools needed to build and validate the program.

0 commit comments

Comments
 (0)