From bbd4dc622c711d3b01feb32270494f20fabf58e1 Mon Sep 17 00:00:00 2001 From: Stephan Boyer Date: Sat, 23 Mar 2024 00:37:00 -0700 Subject: [PATCH] Update Rust to v1.77.0 --- .github/workflows/ci.yml | 12 ++++++------ CHANGELOG.md | 2 +- toast.yml | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e6011e2e..ea17619a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,8 +85,8 @@ jobs: set -euxo pipefail # Install the appropriate version of Rust. - rustup toolchain install 1.76.0 # [ref:rust_1.76.0] - rustup default 1.76.0 # [ref:rust_1.76.0] + rustup toolchain install 1.77.0 # [ref:rust_1.77.0] + rustup default 1.77.0 # [ref:rust_1.77.0] # Add the targets. rustup target add x86_64-pc-windows-msvc @@ -125,8 +125,8 @@ jobs: set -euxo pipefail # Install the appropriate version of Rust. - rustup toolchain install 1.76.0 # [ref:rust_1.76.0] - rustup default 1.76.0 # [ref:rust_1.76.0] + rustup toolchain install 1.77.0 # [ref:rust_1.77.0] + rustup default 1.77.0 # [ref:rust_1.77.0] # Add the targets. rustup target add x86_64-apple-darwin @@ -198,8 +198,8 @@ jobs: set -euxo pipefail # Install the appropriate version of Rust. - rustup toolchain install 1.76.0 # [ref:rust_1.76.0] - rustup default 1.76.0 # [ref:rust_1.76.0] + rustup toolchain install 1.77.0 # [ref:rust_1.77.0] + rustup default 1.77.0 # [ref:rust_1.77.0] # Fetch the program version. VERSION="$(cargo pkgid | cut -d# -f2 | cut -d: -f2)" diff --git a/CHANGELOG.md b/CHANGELOG.md index e7ec6954..1c484ff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.9.7] - 2024-03-04 +## [0.9.7] - 2024-03-23 ### Changed - Some redundant conversions are no longer emitted by the Rust code generator. diff --git a/toast.yml b/toast.yml index dc08a930..782cb1a6 100644 --- a/toast.yml +++ b/toast.yml @@ -17,11 +17,11 @@ command_prefix: | cargo-offline () { cargo --frozen --offline "$@"; } # Use this wrapper for formatting code or checking that code is formatted. We use a nightly Rust - # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2024-03-04]. The + # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2024-03-23]. The # nightly version was chosen as the latest available release with all components present # according to this page: # https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu.html - cargo-fmt () { cargo +nightly-2024-03-04 --frozen --offline fmt --all -- "$@"; } + cargo-fmt () { cargo +nightly-2024-03-23 --frozen --offline fmt --all -- "$@"; } tasks: install_packages: description: Install system packages. @@ -65,18 +65,18 @@ tasks: - install_packages - create_user command: | - # Install stable Rust [tag:rust_1.76.0]. + # Install stable Rust [tag:rust_1.77.0]. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \ -y \ - --default-toolchain 1.76.0 \ + --default-toolchain 1.77.0 \ --profile minimal \ --component clippy # Add Rust tools to `$PATH`. . "$HOME/.cargo/env" - # Install nightly Rust [ref:rust_fmt_nightly_2024-03-04]. - rustup toolchain install nightly-2024-03-04 --profile minimal --component rustfmt + # Install nightly Rust [ref:rust_fmt_nightly_2024-03-23]. + rustup toolchain install nightly-2024-03-23 --profile minimal --component rustfmt install_tools: description: Install the tools needed to build and validate the program.