From 06fd1b2753d0e45f1913423e3e1d9d68e5bf09fd Mon Sep 17 00:00:00 2001 From: Joshua Liebow-Feeser Date: Tue, 8 Oct 2024 11:15:49 -0700 Subject: [PATCH] Fix roll-pinned-toolchain-versions (#1840) Pass `RUSTFLAGS='--cfg=zerocopy_derive_union_into_bytes'` --- .github/workflows/roll-pinned-toolchain-versions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/roll-pinned-toolchain-versions.yml b/.github/workflows/roll-pinned-toolchain-versions.yml index a972a2f682..90de5927d1 100644 --- a/.github/workflows/roll-pinned-toolchain-versions.yml +++ b/.github/workflows/roll-pinned-toolchain-versions.yml @@ -92,6 +92,9 @@ jobs: # Confirm that the update didn't bork `Cargo.toml`. validate-file "$REGEX" Cargo.toml + + export RUSTFLAGS='--cfg zerocopy_derive_union_into_bytes' + # Run `cargo fix` in case there are any warnings or errors # introduced on this new toolchain that we can fix automatically. # This is best-effort, so we don't let failure cause the whole job