Skip to content

Commit

Permalink
Enable type layout randomization in CI on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 19, 2023
1 parent 8b812b9 commit 39d542c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
- name: Enable type layout randomization
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
if: matrix.rust == 'nightly'
- run: cargo test --workspace

minimal:
Expand Down

0 comments on commit 39d542c

Please sign in to comment.