Make rust build accept compile warnings
This commit is contained in:
parent
ec623495ad
commit
0796396d16
1 changed files with 1 additions and 4 deletions
5
.github/workflows/rust.yml
vendored
5
.github/workflows/rust.yml
vendored
|
|
@ -8,9 +8,6 @@ on:
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
env:
|
|
||||||
RUSTFLAGS: -Dwarnings
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre_ci:
|
pre_ci:
|
||||||
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
|
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
|
||||||
|
|
@ -42,7 +39,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: ${{matrix.rust}}
|
toolchain: ${{matrix.rust}}
|
||||||
- name: Enable type layout randomization
|
- name: Enable type layout randomization
|
||||||
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout\ --cfg=exhaustive >> $GITHUB_ENV
|
run: echo -Zrandomize-layout\ --cfg=exhaustive >> $GITHUB_ENV
|
||||||
if: matrix.rust == 'nightly'
|
if: matrix.rust == 'nightly'
|
||||||
- run: cargo check --locked
|
- run: cargo check --locked
|
||||||
- run: cargo update
|
- run: cargo update
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue