From d7f59ec654d289fb36bc0f0cf899f8cfef648f4d Mon Sep 17 00:00:00 2001 From: John Sirois Date: Sat, 26 Aug 2023 13:44:50 -0600 Subject: [PATCH] Upgrade Rust to 1.72.0. The release announcement is here: https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html --- .circleci/config.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- package/src/main.rs | 2 +- rust-toolchain | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1ef49a1..5ff14b1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,7 +47,7 @@ jobs: docker run --rm \ -v $PWD:/code \ -w /code \ - rust:1.71.1-alpine3.18 \ + rust:1.72.0-alpine3.18 \ sh -c 'apk add musl-dev && cargo run -p package -- dist' - persist_to_workspace: root: dist diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ba2e5a..fcbe0c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: docker run --rm \ -v $PWD:/code \ -w /code \ - rust:1.71.1-alpine3.18 \ + rust:1.72.0-alpine3.18 \ sh -c 'apk add musl-dev && cargo run -p package' - name: Integration Tests run: examples/run.sh --no-package diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4672f4..2e29e02 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,7 +62,7 @@ jobs: docker run --rm \ -v $PWD:/code \ -w /code \ - rust:1.71.1-alpine3.18 \ + rust:1.72.0-alpine3.18 \ sh -c 'apk add musl-dev && cargo run -p package -- dist' - name: Prepare Changelog id: prepare-changelog diff --git a/package/src/main.rs b/package/src/main.rs index d77ee12..6a6909c 100644 --- a/package/src/main.rs +++ b/package/src/main.rs @@ -159,7 +159,7 @@ fn main() -> ExitResult { // N.B.: This just suppresses a warning about adding this bin dir to your PATH. .env( "PATH", - vec![output_bin_dir.to_str().unwrap(), env!("PATH")].join(PATHSEP), + [output_bin_dir.to_str().unwrap(), env!("PATH")].join(PATHSEP), ), )?; diff --git a/rust-toolchain b/rust-toolchain index 4106a3d..e371bfb 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,6 +1,6 @@ [toolchain] # N.B.: Update .github and .circleci yaml to use a matching image. -channel = "1.71.1" +channel = "1.72.0" components = [ "cargo", "clippy",