Make rust build accept compile warnings

This commit is contained in:
Noa Aarts 2024-10-20 20:42:15 +02:00
parent ec623495ad
commit 0796396d16
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -8,9 +8,6 @@ on:
permissions:
contents: read
env:
RUSTFLAGS: -Dwarnings
jobs:
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
@ -42,7 +39,7 @@ jobs:
with:
toolchain: ${{matrix.rust}}
- 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'
- run: cargo check --locked
- run: cargo update