From 347b473a475907bd8ef5409bae43ec87f7afb1b5 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 12 Feb 2023 13:48:57 -0800 Subject: [PATCH] Test with randomized type layout on nightly --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 198a836..8e95526 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,8 @@ jobs: with: toolchain: ${{matrix.rust}} components: rust-src + - run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV + if: matrix.rust == 'nightly' - run: cargo test - run: cargo check --no-default-features - run: cargo check --features backtrace