mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-02 20:37:37 +03:00
Fix -Zrandomize-layout setting in Windows jobs
This didn't take effect when run by the default pwsh shell.
This commit is contained in:
parent
8ad3fc774a
commit
38a2228409
1 changed files with 1 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -45,6 +45,7 @@ jobs:
|
|||
- name: Enable type layout randomization
|
||||
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
|
||||
if: matrix.rust == 'nightly'
|
||||
shell: bash
|
||||
- name: Ignore Windows linker warning
|
||||
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Alinker_messages >> $GITHUB_ENV
|
||||
if: matrix.rust == 'nightly-x86_64-pc-windows-gnu'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue