Enable type layout randomization in CI on nightly
This commit is contained in:
parent
320250e56d
commit
e9573cd99e
|
@ -31,6 +31,9 @@ jobs:
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: ${{matrix.rust}}
|
toolchain: ${{matrix.rust}}
|
||||||
|
- name: Enable type layout randomization
|
||||||
|
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
|
||||||
|
if: matrix.rust == 'nightly'
|
||||||
- run: cargo build
|
- run: cargo build
|
||||||
- run: cargo test
|
- run: cargo test
|
||||||
- run: cargo test --release
|
- run: cargo test --release
|
||||||
|
|
Loading…
Reference in New Issue