From 80f98c727cc0346cbe7f855cb638c83d0ae8261c Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 6 May 2021 18:15:08 +0200 Subject: [PATCH] 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 --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 543e3f9e6..42bedf688 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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