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