mirror of
https://github.com/openharmony/third_party_rust_itoa.git
synced 2026-06-30 21:17:55 -04:00
Enable type layout randomization in CI on nightly
This commit is contained in:
@@ -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 build
|
||||
- run: cargo test
|
||||
- run: cargo test --release
|
||||
|
||||
Reference in New Issue
Block a user