From 80985f944a1edfac0a0433639862dc1ed633f069 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 19:59:27 +0000 Subject: [PATCH 1/2] chore(deps): Update Rust Stable to v1.84 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcf70af..6fdd8c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83.0" # STABLE + toolchain: "1.84" # STABLE - uses: Swatinem/rust-cache@v2 - name: Check documentation env: @@ -126,7 +126,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83.0" # STABLE + toolchain: "1.84" # STABLE components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Check formatting @@ -142,7 +142,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.83.0" # STABLE + toolchain: "1.84" # STABLE components: clippy - uses: Swatinem/rust-cache@v2 - name: Install SARIF tools From 1f14214d99f502c02c417d969b1e5d5538815bc4 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 3 Feb 2025 15:54:33 -0600 Subject: [PATCH 2/2] chore: Hack around an old anstream --- crates/snapbox-macros/src/lib.rs | 1 + crates/trycmd/src/runner.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/snapbox-macros/src/lib.rs b/crates/snapbox-macros/src/lib.rs index 6b4f1e1..adb1354 100644 --- a/crates/snapbox-macros/src/lib.rs +++ b/crates/snapbox-macros/src/lib.rs @@ -20,6 +20,7 @@ pub use std::eprintln; #[macro_export] macro_rules! debug { ($($arg:tt)*) => ({ + #![allow(unexpected_cfgs)] // HACK: until we upgrade the minimum anstream $crate::eprint!("[{:>w$}] \t", module_path!(), w = 28); $crate::eprintln!($($arg)*); }) diff --git a/crates/trycmd/src/runner.rs b/crates/trycmd/src/runner.rs index 3f8f0ee..3f885a6 100644 --- a/crates/trycmd/src/runner.rs +++ b/crates/trycmd/src/runner.rs @@ -39,6 +39,7 @@ impl Runner { bins: &crate::BinRegistry, substitutions: &snapbox::Redactions, ) { + #![allow(unexpected_cfgs)] // HACK: until we upgrade the minimum anstream let palette = snapbox::report::Palette::color(); if self.cases.is_empty() {