Skip to content

Commit

Permalink
Fix -Zrandomize-layout setting in Windows jobs
Browse files Browse the repository at this point in the history
This didn't take effect when run by the default pwsh shell.
  • Loading branch information
dtolnay committed Jan 26, 2025
1 parent fa532c2 commit e0f27f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
- name: Enable type layout randomization
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
shell: bash
- run: cargo test

minimal:
Expand Down

0 comments on commit e0f27f5

Please sign in to comment.