mirror of
https://gitee.com/openharmony/third_party_rust_unicode-ident
synced 2024-11-26 17:21:06 +00:00
Enable type layout randomization in CI on nightly
This commit is contained in:
parent
006eb756e3
commit
d91b5d9b58
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -51,6 +51,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
|
||||
- run: cargo check --benches
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user