Skip to content

Commit bf6c5b3

Browse files
refactor: hoist too_many_arguments special clippy ignore
1 parent 1eba5fe commit bf6c5b3

4 files changed

Lines changed: 9 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ resolver = "2"
77
edition = "2021"
88
version = "0.1.0"
99

10+
[workspace.lints.clippy]
11+
too_many_arguments = 'allow'
12+
1013
[workspace.dependencies]
1114
anyhow = { version = "1.0.95", default-features = false }
1215
heck = { version = "0.5", default-features = false }

crates/spidermonkey-embedding-splicer/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ edition.workspace = true
88

99
[lib]
1010

11+
[lints]
12+
workspace = true
13+
1114
[dependencies]
1215
anyhow = { workspace = true }
1316
clap = { version = "4.5.31", features = ["suggestions", "color", "derive"] }

crates/spidermonkey-embedding-splicer/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ use crate::wit::{CoreFn, CoreTy};
99
use wit_parser::{PackageId, Resolve};
1010

1111
pub mod wit {
12-
#![allow(clippy::too_many_arguments)]
1312
wit_bindgen::generate!({
1413
world: "spidermonkey-embedding-splicer",
1514
pub_export_macro: true

crates/splicer-component/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ version.workspace = true
77
[lib]
88
crate-type = ["cdylib"]
99

10+
[lints]
11+
workspace = true
12+
1013
[dependencies]
1114
spidermonkey-embedding-splicer = { path = "../spidermonkey-embedding-splicer" }

0 commit comments

Comments
 (0)