From 18c0fe1c50c7910360639794f669ae38de68c4cf Mon Sep 17 00:00:00 2001 From: John Sirois Date: Fri, 18 Oct 2024 10:07:51 -0700 Subject: [PATCH] Upgrade to Rust 1.82.0. (#247) The release announcement is here: https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- jump/src/context.rs | 2 ++ rust-toolchain | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23e775c..9a82ee5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: docker run --rm \ -v $PWD:/code \ -w /code \ - rust:1.81.0-alpine3.20 \ + rust:1.82.0-alpine3.20 \ sh -c " apk add musl-dev && addgroup -g $(id -g) build && diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d0ada6..87f512b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: docker run --rm \ -v $PWD:/code \ -w /code \ - rust:1.81.0-alpine3.20 \ + rust:1.82.0-alpine3.20 \ sh -c " apk add musl-dev && addgroup -g $(id -g) build && diff --git a/jump/src/context.rs b/jump/src/context.rs index 09b76a3..19dddd8 100644 --- a/jump/src/context.rs +++ b/jump/src/context.rs @@ -111,6 +111,8 @@ impl Debug for LoadProcess { } } +// The two largest variants are Install at ~136 bytes and LoadAndInstall at ~616 bytes. +#[allow(clippy::large_enum_variant)] #[derive(Debug)] pub(crate) enum FileEntry { Skip(usize), diff --git a/rust-toolchain b/rust-toolchain index 392d051..d5d10b2 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -2,7 +2,7 @@ # N.B.: Update .github and .circleci yaml to use a matching image, if available. # Although a version match is not required (cargo downloads and installs the # toolchain described here if not present), it does speed up CI builds. -channel = "1.81.0" +channel = "1.82.0" components = [ "cargo", "clippy",