diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/ops/testing.rs | 5 | ||||
-rw-r--r-- | cli/tools/upgrade.rs | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/cli/ops/testing.rs b/cli/ops/testing.rs index cb3788cdc..7454670c6 100644 --- a/cli/ops/testing.rs +++ b/cli/ops/testing.rs @@ -1,9 +1,5 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -// TODO: allow everywhere because `#[allow(clippy::too_many_arguments)]` on -// `#[op(fast)]` does not work. https://github.com/denoland/rusty_v8/issues/1332 -#![allow(clippy::too_many_arguments)] - use crate::tools::test::TestDescription; use crate::tools::test::TestEvent; use crate::tools::test::TestEventSender; @@ -117,6 +113,7 @@ struct TestRegisterResult { static NEXT_ID: AtomicUsize = AtomicUsize::new(0); +#[allow(clippy::too_many_arguments)] #[op2] #[string] fn op_register_test( diff --git a/cli/tools/upgrade.rs b/cli/tools/upgrade.rs index 04332f5df..d2cb58d28 100644 --- a/cli/tools/upgrade.rs +++ b/cli/tools/upgrade.rs @@ -372,6 +372,8 @@ pub async fn upgrade( }; let download_url = if upgrade_flags.canary { + // NOTE(bartlomieju): to keep clippy happy on M1 macs. + #[allow(clippy::eq_op)] if env!("TARGET") == "aarch64-apple-darwin" { bail!("Canary builds are not available for M1/M2"); } |