Skip to content

Commit 3925795

Browse files
committed
Enable type layout randomization in CI on nightly
1 parent 242cf51 commit 3925795

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- uses: dtolnay/rust-toolchain@master
3232
with:
3333
toolchain: ${{matrix.rust}}
34+
- name: Enable type layout randomization
35+
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
36+
if: matrix.rust == 'nightly'
3437
- run: cargo test
3538

3639
msrv:

0 commit comments

Comments
 (0)