Do not deni deprecated warning

It warns about things udeprecated in rust 1.52 that only have
alternatives in rust 1.52, and i don't feel confident requiring
1.52 already
This commit is contained in:
Olivier Goffart 2021-05-06 18:15:08 +02:00
parent 052ea15989
commit 80f98c727c

View file

@ -21,7 +21,7 @@ jobs:
env:
DYLD_FRAMEWORK_PATH: /Users/runner/work/sixtyfps/Qt/5.15.2/clang_64/lib
QT_QPA_PLATFORM: offscreen
RUSTFLAGS: -D warnings
RUSTFLAGS: -D warnings -W deprecated
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
@ -148,7 +148,7 @@ jobs:
env:
DYLD_FRAMEWORK_PATH: /Users/runner/work/sixtyfps/Qt/5.15.2/clang_64/lib
QT_QPA_PLATFORM: offscreen
RUSTFLAGS: -D warnings
RUSTFLAGS: -D warnings -W deprecated
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
@ -302,8 +302,8 @@ jobs:
env:
# allow deprecated warning because we are using nightly and some things might be deprecated in nightly
# for which the stable alternative is not yet available
RUSTFLAGS: -A deprecated -D warnings
RUSTDOCFLAGS: --html-in-header=/home/runner/work/sixtyfps/sixtyfps/api/sixtyfps-rs/sixtyfps-docs-integration.html -D warnings -A deprecated
RUSTFLAGS: -D warnings -W deprecated
RUSTDOCFLAGS: --html-in-header=/home/runner/work/sixtyfps/sixtyfps/api/sixtyfps-rs/sixtyfps-docs-integration.html -D warnings -W deprecated
SIXTYFPS_NO_QT: 1
steps:
- uses: actions/checkout@v2