mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-02 20:37:37 +03:00
Ignore Windows linker warning
error: linker stderr: Warning: corrupt .drectve at end of def file␍ Warning: corrupt .drectve at end of def file␍ | = note: `-D linker-messages` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(linker_messages)]`
This commit is contained in:
parent
030e3ea9cd
commit
8ad3fc774a
1 changed files with 4 additions and 0 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -45,6 +45,10 @@ jobs:
|
|||
- name: Enable type layout randomization
|
||||
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV
|
||||
if: matrix.rust == 'nightly'
|
||||
- name: Ignore Windows linker warning
|
||||
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Alinker_messages >> $GITHUB_ENV
|
||||
if: matrix.rust == 'nightly-x86_64-pc-windows-gnu'
|
||||
shell: bash
|
||||
- run: cargo check --locked
|
||||
- run: cargo update
|
||||
- run: cargo check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue