From a390695e0f5210904777ce2219ae5cc8e26acbff Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 12 Jul 2022 15:54:17 +0000 Subject: [PATCH] Add `--release` to disallowed-from-async lint (#3325) ## Issue Addressed - #3251 ## Proposed Changes Adds the release tag to the `disallowed_from_async` lint. ## Additional Info ~~I haven't run this locally yet due to (minor) complexity of running the lint, I'm seeing if it will work via Github.~~ --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a97637bfd..53fd4143d 100644 --- a/Makefile +++ b/Makefile @@ -146,10 +146,9 @@ lint: -A clippy::upper-case-acronyms \ -A clippy::vec-init-then-push -# FIXME: fails if --release is added due to broken HTTP API tests nightly-lint: cp .github/custom/clippy.toml . - cargo +$(CLIPPY_PINNED_NIGHTLY) clippy --workspace --tests -- \ + cargo +$(CLIPPY_PINNED_NIGHTLY) clippy --workspace --tests --release -- \ -A clippy::all \ -D clippy::disallowed_from_async rm clippy.toml